UNPKG

@unicity/design-system

Version:

A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support

42 lines 1.13 kB
import React from 'react'; import { AvatarProps as MuiAvatarProps } from '@mui/material'; export interface AvatarProps extends Omit<MuiAvatarProps, 'variant'> { /** * The source URL for the avatar image */ src?: string; /** * Alternative text for the avatar image */ alt?: string; /** * The size of the avatar */ size?: 'small' | 'medium' | 'large' | 'xlarge'; /** * The variant of the avatar */ variant?: 'circular' | 'rounded' | 'square'; /** * The color of the avatar background */ color?: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'default'; /** * Whether the avatar should have a border */ bordered?: boolean; /** * Whether the avatar should be clickable */ clickable?: boolean; /** * Callback fired when the avatar is clicked */ onClick?: () => void; /** * The content to display inside the avatar (usually initials) */ children?: React.ReactNode; } export declare const Avatar: React.FC<AvatarProps>; //# sourceMappingURL=Avatar.d.ts.map