|
1
|
{ |
|
2
|
"description": "This component is based on the input element and supports all of its props", |
|
3
|
"methods": [], |
|
4
|
"displayName": "CurrencyInput", |
|
5
|
"props": { |
|
6
|
"symbol": { |
|
7
|
"required": true, |
|
8
|
"tsType": { |
|
9
|
"name": "string" |
|
10
|
}, |
|
11
|
"description": "The symbol to show in the input." |
|
12
|
}, |
|
13
|
"code": { |
|
14
|
"required": true, |
|
15
|
"tsType": { |
|
16
|
"name": "string" |
|
17
|
}, |
|
18
|
"description": "The currency code to show in the input." |
|
19
|
}, |
|
20
|
"size": { |
|
21
|
"defaultValue": { |
|
22
|
"value": "\"base\"", |
|
23
|
"computed": false |
|
24
|
}, |
|
25
|
"description": "The input's size.", |
|
26
|
"tsType": { |
|
27
|
"name": "union", |
|
28
|
"raw": "\"small\" \\| \"base\"", |
|
29
|
"elements": [ |
|
30
|
{ |
|
31
|
"name": "literal", |
|
32
|
"value": "\"small\"" |
|
33
|
}, |
|
34
|
{ |
|
35
|
"name": "literal", |
|
36
|
"value": "\"base\"" |
|
37
|
} |
|
38
|
] |
|
39
|
}, |
|
40
|
"required": false |
|
41
|
}, |
|
42
|
"disabled": { |
|
43
|
"description": "Whether the input is disabled.\n\n\n", |
|
44
|
"tsType": { |
|
45
|
"name": "boolean" |
|
46
|
}, |
|
47
|
"defaultValue": { |
|
48
|
"value": "false", |
|
49
|
"computed": false |
|
50
|
} |
|
51
|
}, |
|
52
|
"onInvalid": { |
|
53
|
"description": "A function that is triggered when the input is invalid." |
|
54
|
} |
|
55
|
}, |
|
56
|
"composes": [ |
|
57
|
"Omit", |
|
58
|
"VariantProps" |
|
59
|
] |
|
60
|
} |