File: MenuItemAction.d.ts

package info (click to toggle)
cockpit-machines 347-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 275,980 kB
  • sloc: javascript: 708,138; python: 14,367; cpp: 11,141; sh: 932; makefile: 159; xml: 88
file content (21 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (20)
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