| 1 |
/// <reference types="react" /> |
| 2 |
export interface MenuItemActionProps extends React.HTMLProps<HTMLDivElement> { |
| 3 |
/** Additional classes added to the action button */ |
| 4 |
className?: string; |
| 5 |
/** The action icon to use */ |
| 6 |
icon?: 'favorites' | React.ReactNode; |
| 7 |
/** Callback on action click, can also specify onActionClick on the Menu instead */ |
| 8 |
onClick?: (event?: any) => void; |
| 9 |
/** Accessibility label */ |
| 10 |
'aria-label': string; |
| 11 |
/** Flag indicating if the item is favorited */ |
| 12 |
isFavorited?: boolean; |
| 13 |
/** Disables action, can also be specified on the MenuItem instead */ |
| 14 |
isDisabled?: boolean; |
| 15 |
/** Identifies the action item in the onActionClick on the Menu */ |
| 16 |
actionId?: any; |
| 17 |
/** @hide Forwarded ref */ |
| 18 |
innerRef?: React.Ref<any>; |
| 19 |
} |
| 20 |
export declare const MenuItemAction: import("react").ForwardRefExoticComponent<Omit<MenuItemActionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>; |
| 21 |
//# sourceMappingURL=MenuItemAction.d.ts.map |