geoview-core - v2.2.0
    Preparing search index...

    Variable AvatarConst

    Avatar: (props: AvatarPropsExtend) => Element = AvatarUI

    Type Declaration

      • (props: AvatarPropsExtend): Element
      • Material-UI Avatar component for displaying user profile images or initials.

        Wraps Material-UI's Avatar to provide a flexible component for rendering avatar images, initials, or custom icons. All Material-UI Avatar props are supported and passed through directly. Useful for user profiles, team displays, and authentication status indicators.

        Parameters

        • props: AvatarPropsExtend

          Avatar configuration (see AvatarPropsExtend interface and MUI docs)

        Returns Element

        Avatar component with children or image shown

        // Basic usage with text
        <Avatar>JD</Avatar>

        // With image
        <Avatar
        alt="User Name"
        src="/path/to/image.jpg"
        />

        // With custom styling
        <Avatar
        sx={{
        bgcolor: 'primary.main',
        width: 56,
        height: 56
        }}
        >
        <PersonIcon />
        </Avatar>