@trail-ui/react
Version:
16 lines (13 loc) • 572 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
interface AvatarComponentProps {
src?: string;
name: string;
size?: 'sm' | 'md' | 'lg';
color?: 'blue' | 'default' | 'purple' | 'yellow' | 'red' | 'green';
fontWeight?: 'bold' | 'semibold';
zIndex?: 'high' | 'low' | 'medium';
withTooltip?: boolean;
className?: string;
}
declare const AvatarComponent: ({ name, size, src, color, fontWeight, zIndex, withTooltip, className, }: AvatarComponentProps) => react_jsx_runtime.JSX.Element;
export { AvatarComponent, AvatarComponentProps };