2023-12-11 23:33:15 +00:00
|
|
|
type ButtonWithMenuOptionalProps<T = unknown> = Omit<MenuProps<T>, 'open'> & {
|
2023-12-13 19:54:12 +00:00
|
|
|
containedButtonProps?: Partial<ContainedButtonProps>;
|
|
|
|
iconButtonProps?: Partial<import('../components/IconButton').IconButtonProps>;
|
2023-12-11 23:33:15 +00:00
|
|
|
onButtonClick?: import('react').MouseEventHandler<HTMLButtonElement>;
|
|
|
|
variant?: 'contained' | 'icon';
|
|
|
|
};
|
|
|
|
|
|
|
|
type ButtonWithMenuProps<T = unknown> = ButtonWithMenuOptionalProps<T>;
|