UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

19 lines (18 loc) 877 B
import { Props as OptionsListProps } from "../optionsList/OptionsList"; import { Props as PopoverProps } from "../popover/Popover"; type Props<T> = Pick<PopoverProps, "isOpen" | "setIsOpen"> & Pick<OptionsListProps<T>, "options"> & { children: PopoverProps["button"]; title?: string; searchValue: string; setSearchValue: (searchValue: string) => void; asyncSearch?: { isSearching?: boolean; onSearchChange?: (searchValue: string) => void; onLazyLoad: () => void; }; selectedOptions: T[]; onSelect: (selected: T[]) => void; isMultiSelect?: boolean; }; export declare const VuiSearchSelect: <T extends unknown = unknown>({ children, title, isOpen, setIsOpen, options, searchValue, setSearchValue, asyncSearch, selectedOptions, onSelect, isMultiSelect }: Props<T>) => import("react/jsx-runtime").JSX.Element; export {};