UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

15 lines (12 loc) 517 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { SelectProps, SelectOption } from './Select.mjs'; import 'react'; import './Label.mjs'; type SearchableSelectProps<T> = SelectProps<T> & { searchMapping: (value: SelectOption<T>) => string[]; }; /** * A Select where items can be searched */ declare const SearchableSelect: <T>({ value, options, searchMapping, ...selectProps }: SearchableSelectProps<T>) => react_jsx_runtime.JSX.Element; export { SearchableSelect, type SearchableSelectProps };