UNPKG

vdk-components

Version:

React component library built with TypeScript and SCSS

33 lines (32 loc) 668 B
import React from 'react'; export interface AvatarProps { /** * Image URL for the avatar */ src?: string; /** * Fallback text when no image is provided */ alt?: string; /** * Size of the avatar */ size?: 'small' | 'medium' | 'large'; /** * Shape of the avatar */ shape?: 'circle' | 'square'; /** * Status indicator */ status?: 'online' | 'offline' | 'away' | 'busy'; /** * Optional click handler */ onClick?: () => void; /** * Optional className for custom styling */ className?: string; } export declare const Avatar: React.FC<AvatarProps>;