-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathradio-group.d.ts
52 lines (44 loc) · 1.14 KB
/
radio-group.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from "../component";
export declare class RadioGroup extends AntdComponent {
/**
* Specifies the initial state: whether or not the radio is selected.
* @type boolean
*/
defaultValue: boolean;
/**
* Disable radio
* @default false
* @type boolean
*/
disabled: boolean;
/**
* The name property of all input[type="radio"] children
* @type string
*/
name: string;
/**
* set children optional
* @type Array<string | { label: string, value: string, disabled?: boolean }>
*/
options: Array<string | { label: string; value: string; disabled?: boolean }>;
/**
* size for radio button style
* @default 'default'
* @type String
*/
size: "large" | "default" | "small";
/**
* Used for setting the currently selected value.
* @type any
*/
value: any;
/**
* style type of radio button
* @default 'outline'
* @type string
*/
buttonStyle: "outline" | "solid";
}