SelectOption
NOTE: Exotic components are not callable.
Parameters
props
- Type:
@vtex/shoreline-components.SelectOptionProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>
Props
asChild
(optional)
Enable children composition
-
Type:
boolean
-
Default:
false
hideOnClick
(optional)
Whether to hide the select when this item is clicked. By default, it's true when the value prop is also provided.
-
Type:
boolean
-
Default:
true
value
(optional)
Option value
- Type:
string