import React from 'react'; import { ButtonProps } from '@monorail/visualComponents/buttons/Button'; import { SimpleListItemProps } from '@monorail/visualComponents/list/List'; /** * The onClick event is for clicking the button, not the list item * in the dropdown. The logic for clicking the list item is handled * in this component. */ export declare type DropdownButtonListItem = Omit, 'onClick' | 'primaryText'> & { onClick: (event: React.MouseEvent) => void; primaryText: SimpleListItemProps['primaryText']; }; export declare type Props = { listItems: Array; } & Partial>; export declare const DropdownButton: ({ listItems, disabled }: Props) => JSX.Element | null;