@kloudlite/design-system
Version:
A design system for building ambitious products.
15 lines (14 loc) • 685 B
TypeScript
import { ReactNode } from 'react';
type AvatarSizes = 'xs' | 'sm' | 'md' | 'lg' | (string & NonNullable<unknown>);
type AvatarColors = 'one' | 'two' | 'three' | 'four' | 'five' | 'six' | 'seven' | 'dark' | (string & NonNullable<unknown>);
export interface IAvatar {
size?: AvatarSizes;
color?: AvatarColors;
image?: ReactNode;
dot?: boolean;
isTemplate?: boolean;
className?: string;
}
export declare const AvatarBase: ({ size, color, image, dot, className, }: IAvatar) => import("react/jsx-runtime").JSX.Element;
export declare const Avatar: ({ size, color, image, dot, isTemplate, className, }: IAvatar) => import("react/jsx-runtime").JSX.Element;
export {};