@start-base/start-ui
Version:
<p align="center"> <a href="https://startbase.dev" target="_blank"> <img src="https://startbase.dev/apple-touch-icon.png" width="60px" style="padding-top: 60px" /> </a> </p>
17 lines (13 loc) • 543 B
TypeScript
import React$1, { ElementType } from 'react';
interface AvatarProps extends Omit<React.AllHTMLAttributes<HTMLDivElement>, 'size'> {
picture?: string;
chars?: string;
size?: 'small' | 'medium' | 'large';
variant?: 'circular' | 'square';
defaultPicture?: string;
className?: string;
Component?: ElementType;
componentProps?: Record<string, unknown>;
}
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLDivElement>>;
export { type AvatarProps, Avatar as default };