synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 545 B
TypeScript
import { UserProfile } from '@sage-bionetworks/synapse-types';
export type MenuAction = {
field: string;
callback?: (userProfile: UserProfile) => void;
};
export type UserCardContextMenuProps = {
userProfile: UserProfile;
menuActions: MenuAction[];
open: boolean;
anchorEl?: HTMLElement | null;
onClose?: () => void;
};
declare function UserCardContextMenu(props: UserCardContextMenuProps): import("react/jsx-runtime").JSX.Element;
export default UserCardContextMenu;
//# sourceMappingURL=UserCardContextMenu.d.ts.map