import { Nullable } from '../../../../types/index.js'; import { OnyxAvatarProps } from '../../../OnyxAvatar/types.js'; import { OnyxFlyoutMenuProps } from '../OnyxFlyoutMenu/types.js'; export type OnyxUserMenuProps = Pick & { /** * Full user name. * * @example "John Doe" */ fullName: string; /** * User avatar. If unset or an error occurs while loading, a fallback will be displayed with the username initials. */ avatar?: string | Omit; /** * Optional user description that is displayed when the menu is opened. */ description?: string; /** * Controls whether the flyout menu is open. */ flyoutOpen?: Nullable; /** * Whether the user menu is disabled and can not be opened. */ disabled?: boolean; };