import React, { HTMLProps } from 'react'; import './index.scss'; interface IDropdownItem { label?: string; value: string; } interface OverrideProps { label?: string; className?: string; isRequired?: boolean; data?: IDropdownItem[]; placeholder: string; onSelect?: (item: string) => void; searchIcon?: JSX.Element; showSearchThreshold?: number; defaultIndex?: number; } declare type Omit = Pick>; declare type TProps = Omit, keyof OverrideProps> & OverrideProps; declare const Dropdown: React.FC; export { Dropdown };