diff --git a/docs/pages/base-ui/api/use-select.json b/docs/pages/base-ui/api/use-select.json index 5f4cd6d430a3ac..51f573b1423e3b 100644 --- a/docs/pages/base-ui/api/use-select.json +++ b/docs/pages/base-ui/api/use-select.json @@ -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": { diff --git a/docs/translations/api-docs/use-select/use-select.json b/docs/translations/api-docs/use-select/use-select.json index e083d00f9f7b16..e9c367b8131ece 100644 --- a/docs/translations/api-docs/use-select/use-select.json +++ b/docs/translations/api-docs/use-select/use-select.json @@ -5,6 +5,9 @@ "description": "A function used to determine if two options' values are equal. By default, reference equality is used.
There is a performance impact when using the areOptionsEqual prop (proportional to the number of options). Therefore, it'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 true, the select will be open by default." }, "defaultValue": { "description": "The default selected value. Use when the component is not controlled."