@useloops/design-system
Version:
The official React based Loops design system
19 lines (16 loc) • 536 B
TypeScript
import { PopperProps } from '@mui/material';
import { PropsWithChildren, FunctionComponent } from 'react';
import { MenuItemProps } from '../Menu/MenuItem.js';
interface UserMenuProps extends PropsWithChildren {
avatar?: string;
email: string;
menuItems?: MenuItemProps[];
name: string;
offset?: number[];
placement?: PopperProps['placement'];
rounded?: boolean;
width?: number;
}
declare const UserMenu: FunctionComponent<UserMenuProps>;
export { UserMenu as default };
export type { UserMenuProps };