grepsr-ui-elements
Version:
18 lines (17 loc) • 501 B
TypeScript
/// <reference types="react" />
interface Option {
id: number;
label: string;
}
interface SearchDropProps {
label: string;
size?: 'small' | 'medium';
dropData: Option[];
open?: boolean;
handleClose?: (l: any) => void;
onSearch: (l: any) => void;
handleOpen?: () => void;
}
export { SearchDropProps };
declare const SearchDropDown: ({ label, size, open, dropData, onSearch, handleClose, handleOpen, }: SearchDropProps) => JSX.Element;
export default SearchDropDown;