stofli-ui
Version:
Biblioteca moderna de componentes UI para React con Tailwind CSS y Framer Motion
28 lines (25 loc) • 664 B
TypeScript
import React from 'react';
interface AvatarProps {
src?: string;
alt?: string;
fallback?: string;
size?: "sm" | "md" | "lg" | "xl";
radius?: "none" | "sm" | "md" | "full";
border?: boolean;
borderColor?: string;
status?: "online" | "offline" | "away" | "busy";
className?: string;
imageClassName?: string;
fallbackClassName?: string;
statusClassName?: string;
ariaLabel?: string;
statusLabel?: {
online?: string;
offline?: string;
away?: string;
busy?: string;
};
}
declare const Avatar: React.FC<AvatarProps>;
export { Avatar as default };
export type { AvatarProps };