@upv/react-ui-core
Version:
**USHI Design System — Modern UI Component Library**
16 lines (15 loc) • 465 B
TypeScript
import React from "react";
import { DefaultTheme } from "styled-components";
export type AvatarStatus = "online" | "offline" | "busy";
interface AvatarProps {
src?: string;
name?: string;
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
status?: AvatarStatus;
border?: boolean;
clickable?: boolean;
className?: string;
bgColor?: keyof DefaultTheme["colors"] | string;
}
export declare const Avatar: React.FC<AvatarProps>;
export {};