@material-ui/lab
Version:
Material-UI Lab - Incubator for Material-UI React components.
33 lines (29 loc) • 699 B
TypeScript
import * as React from 'react';
import { StandardProps } from '@material-ui/core';
export interface AvatarGroupProps
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, AvatarGroupClassKey> {
/**
* The avatars to stack.
*/
children?: React.ReactNode;
/**
* Max avatars to show before +x.
*/
max?: number;
/**
* Spacing between avatars.
*/
spacing?: 'small' | 'medium' | number;
}
export type AvatarGroupClassKey = 'root' | 'avatar';
/**
*
* Demos:
*
* - [Avatars](https://mui.com/components/avatars/)
*
* API:
*
* - [AvatarGroup API](https://mui.com/api/avatar-group/)
*/
export default function AvatarGroup(props: AvatarGroupProps): JSX.Element;