UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

15 lines (14 loc) 558 B
import type { Ref } from 'react'; import type { AvatarProps } from "../Avatar/type"; import type { BlockProps } from "../Block/type"; import type { SMOOTH_CORNER_MASKS } from "../utils/smoothCorners"; type AvatarItem = string | Omit<AvatarProps, 'size'>; export interface GroupAvatarProps extends Omit<BlockProps, 'width' | 'height' | 'variant'> { avatarShape?: AvatarProps['shape']; avatars?: AvatarItem[]; cornerShape?: keyof typeof SMOOTH_CORNER_MASKS; grid?: 2 | 3 | 'auto'; ref?: Ref<HTMLDivElement>; size?: number; } export {};