API reference: @salmonui/layout/avatar
AvatarGroupPropsinterface
import type { AvatarGroupProps } from '@salmonui/layout/avatar';interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
readonly children?: ReactNode;
readonly max?: number | undefined;
readonly size?: AvatarSize | number | undefined;
readonly shape?: AvatarShape | undefined;
readonly localeText?: {
readonly more?: ((count: number) => string) | undefined;
} | undefined;
}
| Name | Signature | Description |
|---|---|---|
childrenoptional | readonly children?: ReactNode; |
|
maxoptional | readonly max?: number | undefined; | Show at most this many avatars; the rest become one |
sizeoptional | readonly size?: AvatarSize | number | undefined; | Size (named or px) and shape of the |
shapeoptional | readonly shape?: AvatarShape | undefined; | |
localeTextoptional | readonly localeText?: {
readonly more?: ((count: number) => string) | undefined;
} | undefined; |