UNPKG

ds-smart-ui

Version:

Smart UI is a React component library that helps you build accessible and responsive web applications.

18 lines (16 loc) 540 B
import { ReactElement } from 'react'; type LabelPosition = "left" | "right" | "bottom-left" | "bottom-center" | "bottom-right"; type AvatarWithLabelProps = React.HTMLAttributes<HTMLDivElement> & { name?: string; identity?: string; icon?: ReactElement; color?: string; bgColor?: string; size?: "sm" | "md" | "lg" | "xl" | number; src?: string; alt?: string; labelPosition?: LabelPosition; id?: string; }; declare const AvatarWithLabel: React.FC<AvatarWithLabelProps>; export default AvatarWithLabel;