@ant-design/pro-flow
Version:
A React based Flow components
32 lines (31 loc) • 759 B
TypeScript
export declare const useMenuActions: () => {
DIVIDER: {
readonly type: "divider";
};
paste: {
key: string;
label: string;
onClick: () => void;
icon: import("react/jsx-runtime").JSX.Element;
shortcut: string[];
};
selectAll: {
key: string;
label: string;
icon: import("react/jsx-runtime").JSX.Element;
onClick: () => void;
shortcut: string[];
};
zoomIn: {
label: string;
icon: import("react/jsx-runtime").JSX.Element;
onClick: () => void;
key: string;
};
zoomOut: {
label: string;
icon: import("react/jsx-runtime").JSX.Element;
onClick: () => void;
key: string;
};
};