Skip to content

Commit

Permalink
docs:api
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Sep 27, 2023
1 parent e271040 commit 3cabcc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/pages/base-ui/api/use-menu.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"parameters": {
"disabledItemsFocusable": {
"type": { "name": "boolean", "description": "boolean" },
"default": "true"
},
"id": { "type": { "name": "string", "description": "string" } },
"listboxRef": {
"type": { "name": "React.Ref<Element>", "description": "React.Ref<Element>" }
Expand All @@ -9,7 +13,8 @@
"name": "(items: string[]) => void",
"description": "(items: string[]) => void"
}
}
},
"open": { "type": { "name": "boolean", "description": "boolean" } }
},
"returnValue": {
"contextValue": {
Expand Down
3 changes: 3 additions & 0 deletions docs/translations/api-docs/use-menu/use-menu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"hookDescription": "",
"parametersDescriptions": {
"disabledItemsFocusable": {
"description": "If <code>true</code>, it will be possible to highlight disabled items."
},
"id": { "description": "The id of the menu. If not provided, it will be generated." },
"listboxRef": { "description": "The ref to the menu&#39;s listbox node." },
"onItemsChange": { "description": "Callback fired when the menu items change." }
Expand Down

0 comments on commit 3cabcc9

Please sign in to comment.