reablocks
Version:
Component library for React
23 lines (22 loc) • 686 B
TypeScript
import { default as React } from 'react';
import { AvatarGroupTheme } from './AvatarGroupTheme';
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The avatars to display in the group.
*/
children: React.ReactNode;
/**
* Additional CSS classes to apply to the avatar group
*/
className?: string;
/**
* The maximum number of avatars to show before +x more
* @default 10
*/
size?: number;
/**
* Theme for the AvatarGroup
*/
theme?: AvatarGroupTheme;
}
export declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;