Skip to content

Commit

Permalink
Gen api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Nov 28, 2023
1 parent 23f6083 commit 2531a53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/pages/base-ui/api/use-select.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"buttonRef": {
"type": { "name": "React.Ref<Element>", "description": "React.Ref<Element>" }
},
"componentName": {
"type": { "name": "string", "description": "string" },
"default": "'useSelect'"
},
"defaultOpen": { "type": { "name": "boolean", "description": "boolean" }, "default": "false" },
"defaultValue": {
"type": {
Expand Down
3 changes: 3 additions & 0 deletions docs/translations/api-docs/use-select/use-select.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"description": "A function used to determine if two options&#39; values are equal. By default, reference equality is used.<br>There is a performance impact when using the <code>areOptionsEqual</code> prop (proportional to the number of options). Therefore, it&#39;s recommented to use the default reference equality comparison whenever possible."
},
"buttonRef": { "description": "The ref of the trigger button element." },
"componentName": {
"description": "The name of the component using useSelect. For debugging purposes."
},
"defaultOpen": { "description": "If <code>true</code>, the select will be open by default." },
"defaultValue": {
"description": "The default selected value. Use when the component is not controlled."
Expand Down

0 comments on commit 2531a53

Please sign in to comment.