Feature #13634
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>
export interface ContextMenuProps {
anchorEl?: HTMLElement;
item?: DataItem;
- onClose: VoidFunction;
+ onClose: () => void;
actions: ContextMenuActions;
}
interface ActionsProps {
actions: ContextMenuActions;
item?: DataItem;
- onClose: VoidFunction;
+ onClose: () => void;
}
const Actions: React.SFC<ActionsProps> = ({ actions, item, onClose }) =>
item?: DataItem;
icon: string;
label: string;
- onClose: VoidFunction;
+ onClose: () => void;
}
const Action: React.SFC<ActionProps> = ({ onClick, onClose, item, icon, label }) =>