import { FC, ReactNode } from 'react'; import { Placement } from "@popperjs/core"; import { ButtonType } from '../button/Button'; import { IconTypes } from '../icon/Icon'; export interface Props { children?: ReactNode; className?: string; disabled?: boolean; /** Sets the width of the options menu */ menuWidth?: number; onClick: (data: any) => void; /** Every option has a label that is displayed and an underlying value */ options: { icon?: IconTypes; label: string; value: string | number | any; }[]; placement?: Placement; /** Same as Button ('primary', 'secondary', 'danger', 'warn') */ type?: ButtonType; } declare const ButtonDropdown: FC; export default ButtonDropdown;