|
1
|
{ |
|
2
|
"description": "This component is based on the [Radix UI Dialog](https://www.radix-ui.com/primitives/docs/components/dialog) primitives.", |
|
3
|
"methods": [], |
|
4
|
"displayName": "FocusModal", |
|
5
|
"props": { |
|
6
|
"defaultOpen": { |
|
7
|
"description": "Whether the modal is opened by default.", |
|
8
|
"required": false, |
|
9
|
"tsType": { |
|
10
|
"name": "boolean" |
|
11
|
} |
|
12
|
}, |
|
13
|
"open": { |
|
14
|
"description": "Whether the modal is opened.", |
|
15
|
"required": false, |
|
16
|
"tsType": { |
|
17
|
"name": "boolean" |
|
18
|
} |
|
19
|
}, |
|
20
|
"onOpenChange": { |
|
21
|
"description": "A function to handle when the modal is opened or closed.", |
|
22
|
"required": false, |
|
23
|
"tsType": { |
|
24
|
"name": "signature", |
|
25
|
"type": "function", |
|
26
|
"raw": "(open: boolean) => void", |
|
27
|
"signature": { |
|
28
|
"arguments": [ |
|
29
|
{ |
|
30
|
"name": "open", |
|
31
|
"type": { |
|
32
|
"name": "boolean" |
|
33
|
}, |
|
34
|
"rest": false |
|
35
|
} |
|
36
|
], |
|
37
|
"return": { |
|
38
|
"name": "void" |
|
39
|
} |
|
40
|
} |
|
41
|
} |
|
42
|
} |
|
43
|
} |
|
44
|
} |