Raw
1 {
2 "description": "The root component of the command bar. This component manages the state of the command bar.",
3 "methods": [],
4 "displayName": "CommandBar",
5 "props": {
6 "open": {
7 "required": false,
8 "tsType": {
9 "name": "boolean"
10 },
11 "description": "Whether to open (show) the command bar.",
12 "defaultValue": {
13 "value": "false",
14 "computed": false
15 }
16 },
17 "onOpenChange": {
18 "required": false,
19 "tsType": {
20 "name": "signature",
21 "type": "function",
22 "raw": "(open: boolean) => void",
23 "signature": {
24 "arguments": [
25 {
26 "type": {
27 "name": "boolean"
28 },
29 "name": "open"
30 }
31 ],
32 "return": {
33 "name": "void"
34 }
35 }
36 },
37 "description": "Specify a function to handle the change of `open`'s value."
38 },
39 "defaultOpen": {
40 "required": false,
41 "tsType": {
42 "name": "boolean"
43 },
44 "description": "Whether the command bar is open by default.",
45 "defaultValue": {
46 "value": "false",
47 "computed": false
48 }
49 },
50 "disableAutoFocus": {
51 "required": false,
52 "tsType": {
53 "name": "boolean"
54 },
55 "description": "Whether to disable focusing automatically on the command bar when it's opened.",
56 "defaultValue": {
57 "value": "true",
58 "computed": false
59 }
60 }
61 }
62 }