20 lines
765 B
JSON
20 lines
765 B
JSON
|
|
{
|
||
|
|
"hookDescription": "",
|
||
|
|
"parametersDescriptions": {
|
||
|
|
"componentName": {
|
||
|
|
"description": "The name of the component using useDropdown. For debugging purposes."
|
||
|
|
},
|
||
|
|
"defaultOpen": { "description": "If <code>true</code>, the dropdown is initially open." },
|
||
|
|
"onOpenChange": {
|
||
|
|
"description": "Callback fired when the component requests to be opened or closed."
|
||
|
|
},
|
||
|
|
"open": {
|
||
|
|
"description": "Allows to control whether the dropdown is open. This is a controlled counterpart of <code>defaultOpen</code>."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"returnValueDescriptions": {
|
||
|
|
"contextValue": { "description": "The value to be passed into the DropdownContext provider." },
|
||
|
|
"open": { "description": "If <code>true</code>, the dropdown is open." }
|
||
|
|
}
|
||
|
|
}
|