Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
This is the a Select component with xstyled super powers and another elements inside doing some magics.
The component exports the option type for convenience.
enableSearch
?: { noOptionsMessage: string }
An object containing the the messege to show when there are no options to show. Search is enabled when this props is passed.
label
: string
The label of select showed in the top-left corner of the field container.
error
?: string | undefined | null
The error message showed in the bottom-left corner of the field container.
placeholder
?: string | undefined
Placeholder message.
name
: string
The name of the select input.
options
: Array<{ label: string, value: any }>
The options to show in the select.
isMulti
: boolean
Enable multi-select mode.
control
: Control<any, any>
The control of the select from react-hook-form useForm hook.