| | |
| | | import { RadioValue } from '../radio/type'; |
| | | import { KeysType } from '../common/common'; |
| | | export interface TdRadioGroupProps<T = RadioValue> { |
| | | placement?: { |
| | | type: StringConstructor; |
| | | value?: 'left' | 'right'; |
| | | allowUncheck?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | borderless?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | style?: { |
| | | type: StringConstructor; |
| | | value?: string; |
| | | }; |
| | | disabled?: { |
| | | type: BooleanConstructor; |
| | |
| | | type: ArrayConstructor; |
| | | value?: Array<RadioOption>; |
| | | }; |
| | | placement?: { |
| | | type: StringConstructor; |
| | | value?: 'left' | 'right'; |
| | | }; |
| | | readonly?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | value?: { |
| | | type: null; |
| | | value?: T; |
| | |
| | | disabled?: boolean; |
| | | allowUncheck?: boolean; |
| | | } |
| | | export declare type RadioValue = string | number | boolean; |