@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
19 lines (18 loc) • 804 B
TypeScript
import { SpaceProps } from '@spicy-ui/styled-system';
import * as React from 'react';
import { SxProp } from '../../system';
import { AsProp, ChildrenProp, HTMLAttributes } from '../../types';
import { AvatarProps } from './Avatar';
export interface AvatarGroupProps extends HTMLAttributes, AsProp, ChildrenProp, SxProp {
/** Border color of all avatars. */
borderColor?: string;
/** Maximum number of avatars to show. */
max?: number;
/** Spacing between avatars. */
spacing?: SpaceProps['margin'];
/** Size of all avatars. */
size?: AvatarProps['size'];
/** Variant of all avatars. */
variant?: AvatarProps['variant'];
}
export declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;