1 | import * as React from "react";
|
2 | import { BoxProps } from "../Box";
|
3 | import { IAvatar } from "../Avatar";
|
4 | import { Omit } from "../common-types";
|
5 |
|
6 | interface IMoreIndicator {
|
7 | size?: IAvatar["size"];
|
8 | label: React.ReactNode;
|
9 | }
|
10 |
|
11 | interface IAvatarGroup {
|
12 | |
13 |
|
14 |
|
15 | size?: IAvatar["size"];
|
16 | |
17 |
|
18 |
|
19 |
|
20 |
|
21 | children: React.ReactNode;
|
22 | |
23 |
|
24 |
|
25 | spacing?: BoxProps["marginLeft"];
|
26 | |
27 |
|
28 |
|
29 | max?: number;
|
30 | }
|
31 |
|
32 | export type AvatarGroupProps = IAvatarGroup & Omit<BoxProps, "size">;
|
33 |
|
34 |
|
35 |
|
36 | declare const AvatarGroup: React.FC<AvatarGroupProps>;
|
37 |
|
38 | export default AvatarGroup;
|