import { FC, SyntheticEvent } from 'react'; export type MenuItems = { [key: string]: string; }; export interface BaseDropdownProps { /** Defines key of the dropdown */ id: string; /** Defines which menu item should be selected */ selected: string; /** Defines Menu Items for the dropdown */ menuItemIds: string[]; /** Defines labels for menuItmIds for the dropdown */ menuItems: MenuItems; /** Defines an action on clicking a menu item */ onMenuItemClick: (e: SyntheticEvent, id: string) => void; /** Defines whether to append a control to its right */ append?: boolean; /** Defines whether to append a control to its left */ prepend?: boolean; } declare const BaseDropdown: FC; export default BaseDropdown;