SelectContent
The list the trigger opens.
import { SelectContent } from '@/components/ui/goop/select';Options
- noneRowLabel?: string — The words of the row that sets an
optionalselect back to none; "No <searchLabel>", else "Clear", by default. - createLabel?: (words: string) => string — The words of the row offering to create the words searched for (the root's
onCreate);Create “<words>”. - creatingLabel?: (words: string) => string — The words of the loading row while a create waits;
Creating “<words>”by default. - searchPlaceholder?: string — The search field's placeholder words, none by default; they name the field when nothing else does.
- hint?: ReactNode — The key hint at the search field's end (the theme's
ShortcutKeys). - search?: boolean = true — The search field shown over the rows (the default) or,
false, clipped to nothing: typing still filters. - searchLabel?: string — The search field's name for assistive technology; left out, the trigger's own name.
- empty?: ReactNode — The words the list shows while no row matches, under the field; none by default.
- Also takes: container?: HTMLElement | null