| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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;
|