import { HTMLAttributes } from 'react'; import { SearchProps } from '../search.types'; /** * Props for the 'DropDownContainer' component. * * @author Nazarii Baran, Malik Alimoekhamedov * @interface */ interface DropDownContainerProps extends HTMLAttributes, Pick { readonly title?: string; /** * Handle dropdown close */ readonly onClose: () => void; /** * Allows the user to reset the contents of the component. * If no value is provided, no reset button will be shown. */ readonly onReset?: () => void; /** * Handle user search */ readonly onSearch: () => void; readonly shouldBeVisible?: boolean; } export type { DropDownContainerProps };