/** * CurrentUserComponent * Translated from @abp/ng.theme.basic/lib/components/nav-items/current-user.component.ts v4.0.0 * * Public API component for displaying the current user nav item. * Can be replaced using the component replacement system with eThemeBasicComponents.CurrentUser. * * @since 3.0.0 */ import React from 'react'; import { type SystemStyleObject } from '@chakra-ui/react'; /** * Props for the CurrentUserComponent. * @since 3.0.0 */ export interface CurrentUserComponentProps { /** Whether to display in small screen (mobile) mode */ smallScreen?: boolean; /** URL to redirect to for login (default: /account/login) */ loginUrl?: string; /** URL to redirect to for profile (default: /account/manage) */ profileUrl?: string; /** URL to redirect to for change password (default: /account/manage) */ changePasswordUrl?: string; /** Custom styles for the container */ containerStyle?: SystemStyleObject; /** Z-index for the dropdown menu */ menuZIndex?: number; } /** * Public API component for the current user nav item. * Displays user avatar, name, and dropdown menu with profile options. * * This component is part of the theme-basic public API and can be * replaced using the component replacement system with eThemeBasicComponents.CurrentUser. * * @since 3.0.0 * * @example * ```tsx * // Basic usage * * * // With custom URLs * * ``` */ export declare function CurrentUserComponent({ smallScreen: _smallScreen, loginUrl, profileUrl, changePasswordUrl, containerStyle, menuZIndex, }: CurrentUserComponentProps): React.ReactElement; export default CurrentUserComponent;