UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

19 lines (18 loc) 668 B
import React from "react"; import { AvatarSize, AvatarType } from "./AvatarConstants"; import { SubIcon, VibeComponentProps } from "../../types"; export interface AvatarContentProps extends VibeComponentProps { src?: string; type?: AvatarType; size?: AvatarSize; role?: string; ariaLabel?: string; /** we support two types of icons - SVG and FONT (classname) so this prop is either the name of the icon or the component */ icon?: SubIcon; textClassName?: string; text?: string; } export declare const AvatarContent: React.FC<AvatarContentProps> & { sizes?: typeof AvatarSize; types?: typeof AvatarType; };