infinity-forge
Version:
15 lines (14 loc) • 456 B
TypeScript
export interface IUserMenuProps {
name: string;
subtitle?: string;
avatar: string;
email?: string;
onEditProfile?: () => void;
onLogout?: () => void;
customOptions?: {
label: string;
icon: React.ReactNode;
onClick: () => void;
}[];
}
export declare function UserMenu({ name, subtitle, avatar, email, onEditProfile, onLogout, customOptions }: IUserMenuProps): import("react/jsx-runtime").JSX.Element;