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
| export interface FieldNames {
| disabled?: string;
| label?: string;
| value?: string;
| }
|
| export const radioProps = {
| direction: {
| default: 'horizontal',
| type: String,
| },
| fieldNames: {
| default: () => ({ disabled: 'disabled', label: 'fullName', value: 'id' }),
| type: Object as PropType<FieldNames>,
| },
| options: {
| default: () => [],
| type: Array,
| },
| optionType: {
| default: 'default',
| type: String as PropType<'button' | 'default'>,
| },
| value: {
| type: [String, Number, Boolean] as PropType<boolean | number | string>,
| },
| };
|
|