File: MenuItemAction.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (21 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/// <reference types="react" />
export interface MenuItemActionProps extends React.HTMLProps<HTMLDivElement> {
    /** Additional classes added to the action button */
    className?: string;
    /** The action icon to use */
    icon?: 'favorites' | React.ReactNode;
    /** Callback on action click, can also specify onActionClick on the Menu instead */
    onClick?: (event?: any) => void;
    /** Accessibility label */
    'aria-label': string;
    /** Flag indicating if the item is favorited */
    isFavorited?: boolean;
    /** Disables action, can also be specified on the MenuItem instead */
    isDisabled?: boolean;
    /** Identifies the action item in the onActionClick on the Menu */
    actionId?: any;
    /** @hide Forwarded ref */
    innerRef?: React.Ref<any>;
}
export declare const MenuItemAction: import("react").ForwardRefExoticComponent<Omit<MenuItemActionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=MenuItemAction.d.ts.map