SelectOptionProps
Hierarchy
-
ComponentPropsWithoutRef
<"div"
>↳
SelectOptionProps
Table of contents
Properties
Properties
asChild
• Optional
asChild: boolean
Enable children composition
Default
false;
Defined in
packages/components/src/select/select-option.tsx:30 (opens in a new tab)
hideOnClick
• Optional
hideOnClick: boolean
Whether to hide the select when this item is clicked. By default, it's true when the value prop is also provided.
Default
true;
Defined in
packages/components/src/select/select-option.tsx:39 (opens in a new tab)
value
• Optional
value: string
Option value
Defined in
packages/components/src/select/select-option.tsx:34 (opens in a new tab)