UNPKG

tdesign-miniprogram

Version:
64 lines (63 loc) 1.36 kB
export interface TdRadioProps<T = RadioValue> { allowUncheck?: { type: BooleanConstructor; value?: boolean; }; block?: { type: BooleanConstructor; value?: boolean; }; checked?: { type: BooleanConstructor; value?: boolean; }; defaultChecked?: { type: BooleanConstructor; value?: boolean; }; content?: { type: StringConstructor; value?: string; }; contentDisabled?: { type: BooleanConstructor; value?: boolean; }; disabled?: { type: BooleanConstructor; value?: boolean; }; icon?: { type: null; value?: 'circle' | 'line' | 'dot' | Array<string>; }; label?: { type: StringConstructor; value?: string; }; maxContentRow?: { type: NumberConstructor; value?: number; }; maxLabelRow?: { type: NumberConstructor; value?: number; }; name?: { type: StringConstructor; value?: string; }; placement?: { type: StringConstructor; value?: 'left' | 'right'; }; readonly?: { type: BooleanConstructor; value?: boolean; }; value?: { type: null; value?: T; }; } export declare type RadioValue = string | number | boolean;