@helpwave/hightide
Version:
helpwave's component and theming library
15 lines (12 loc) • 515 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { SelectProps, SelectOption } from './Select.js';
import 'react';
import './Label.js';
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 };