import * as React from 'react'; import { Breakpoint } from '../../wui-core/src/LayoutUtils'; export type BreakpointMap = Record; export type ScreenSizeMap = Partial>; export type AvatarSize = 'large' | 'small' | 'default' | number | ScreenSizeMap; export type Shape = 'circle' | 'square'; export interface AvatarProps { /** Shape of avatar, options: `circle`, `square` */ shape?: Shape; size?: AvatarSize; gap?: number; /** Src of image avatar */ src?: React.ReactNode; /** Srcset of image avatar */ srcSet?: string; draggable?: boolean; /** Icon to be used in avatar */ icon?: React.ReactNode; style?: React.CSSProperties; prefixCls?: string; className?: string; children?: React.ReactNode; alt?: string; onError?: () => boolean; fieldid?: string; } export interface GroupProps { className?: string; children?: React.ReactNode; style?: React.CSSProperties; prefixCls?: string; maxCount?: number; maxStyle?: React.CSSProperties; maxPopoverPlacement?: 'top' | 'bottom'; size?: AvatarSize; fieldid?: string; maxPopoverTrigger?: 'hover' | 'focus' | 'click'; }