|
1
|
{ |
|
2
|
"description": "This component is based on the `button` element and supports all of its props", |
|
3
|
"methods": [], |
|
4
|
"displayName": "Copy", |
|
5
|
"props": { |
|
6
|
"content": { |
|
7
|
"required": true, |
|
8
|
"tsType": { |
|
9
|
"name": "string" |
|
10
|
}, |
|
11
|
"description": "The content to copy." |
|
12
|
}, |
|
13
|
"variant": { |
|
14
|
"required": false, |
|
15
|
"tsType": { |
|
16
|
"name": "union", |
|
17
|
"raw": "\"mini\" | \"default\" | null", |
|
18
|
"elements": [ |
|
19
|
{ |
|
20
|
"name": "literal", |
|
21
|
"value": "\"mini\"" |
|
22
|
}, |
|
23
|
{ |
|
24
|
"name": "literal", |
|
25
|
"value": "\"default\"" |
|
26
|
}, |
|
27
|
{ |
|
28
|
"name": "null" |
|
29
|
} |
|
30
|
] |
|
31
|
}, |
|
32
|
"description": "The variant of the copy button.", |
|
33
|
"defaultValue": { |
|
34
|
"value": "\"default\"", |
|
35
|
"computed": false |
|
36
|
} |
|
37
|
}, |
|
38
|
"asChild": { |
|
39
|
"required": false, |
|
40
|
"tsType": { |
|
41
|
"name": "boolean" |
|
42
|
}, |
|
43
|
"description": "Whether to remove the wrapper `button` element and use the\npassed child element instead.", |
|
44
|
"defaultValue": { |
|
45
|
"value": "false", |
|
46
|
"computed": false |
|
47
|
} |
|
48
|
} |
|
49
|
} |
|
50
|
} |