///
export interface RadioProps {
data?: Array;
hideLine?: boolean;
labelType?: 'start' | 'end';
row?: boolean;
onChange?: (e: any) => void;
isLimitedWrap?: boolean;
}
export interface RadioItemProps extends RadioItemPropsType {
label?: string;
value?: string | number;
extra?: boolean;
checked?: boolean;
disable?: boolean;
prefixCls?: string;
listPrefixCls?: string;
className?: string;
hideBottomLine?: boolean;
children?: React.ReactNode;
lineStyle?: React.CSSProperties;
newStyle?: boolean;
row?: boolean;
cardRow?: boolean;
type?: 'normal' | 'card';
}
export interface RadioSelfPropsType {
defaultChecked?: boolean;
onChange?: (e: {
target: {
checked: boolean;
};
}) => void;
name?: string;
wrapLabel?: boolean;
hideLine?: boolean;
customeStyle?: boolean;
children?: React.ReactNode;
}
export interface RadioItemPropsType extends RadioSelfPropsType {
radioProps?: object;
onClick?: (any: any) => any;
labelType?: 'start' | 'end';
type?: 'dot' | 'redTick' | 'tick' | 'normal' | 'card';
}