types(Radio): use tsx (#8129)

This commit is contained in:
neverland
2021-02-11 10:35:22 +08:00
committed by GitHub
parent b5944524d9
commit 4ce467c683
4 changed files with 31 additions and 13 deletions
+3 -3
View File
@@ -3,13 +3,13 @@ import { addUnit } from '../utils';
import Icon from '../icon';
export type CheckerShape = 'square' | 'round';
export type CheckerDirection = 'horizontal' | 'vertical';
export type CheckerLabelPosition = 'left' | 'right';
type CheckerParent = {
export type CheckerParent = {
props: {
disabled?: boolean;
iconSize?: number | string;
direction?: 'horizontal' | 'vertical';
direction?: CheckerDirection;
checkedColor?: string;
};
};