SelectOptionProps
Hierarchy
-
ComponentPropsWithoutRef
<"div"
>↳
SelectOptionProps
Properties
asChild
• Optional
asChild: boolean
Enable children composition
Default
false;
Defined in
packages/components/src/select/select-option.tsx:32 (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:41 (opens in a new tab)
value
• Optional
value: string
Option value
Defined in
packages/components/src/select/select-option.tsx:36 (opens in a new tab)