/** @jsx jsx */ import { CSSProperties, FunctionComponent, ReactElement } from 'react'; import { PopperPlacement } from './Popper'; export interface DropDownOptionOption { type?: 'option'; label: string; Component?: (props: { option: DropDownOptionOption; index: number; }) => ReactElement | null; data: T; } interface DropDownSeparatorOption { type: 'separator'; } export declare type DropDownOption = DropDownSeparatorOption | DropDownOptionOption; export interface IDropDownProps { reference: JSX.Element; visible?: boolean; placement?: PopperPlacement; onClickOutside?: () => void; onClick?: (option: DropDownOptionOption) => void; popperStyle?: CSSProperties; popperClassName?: string; arrow?: boolean; options: DropDownOption[]; OptionComponent?: FunctionComponent<{ option: DropDownOptionOption; index: number; }>; SeparatorComponent?: FunctionComponent<{ option: DropDownSeparatorOption; index: number; }>; } export declare function DropDown(props: IDropDownProps): JSX.Element; export declare const DropDownItem: FunctionComponent<{ onClick?: () => void; }>; export {};