You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
527 B
21 lines
527 B
3 years ago
|
import type { ForwardRefExoticComponent, RefAttributes } from 'react';
|
||
|
import type { AvatarProps } from './avatar';
|
||
|
import InternalAvatar from './avatar';
|
||
4 years ago
|
import Group from './group';
|
||
5 years ago
|
|
||
2 years ago
|
export type { AvatarProps } from './avatar';
|
||
|
export type { GroupProps } from './group';
|
||
2 years ago
|
export { Group };
|
||
8 years ago
|
|
||
2 years ago
|
type CompoundedComponent = ForwardRefExoticComponent<
|
||
|
AvatarProps & RefAttributes<HTMLSpanElement>
|
||
|
> & {
|
||
4 years ago
|
Group: typeof Group;
|
||
2 years ago
|
};
|
||
8 years ago
|
|
||
4 years ago
|
const Avatar = InternalAvatar as CompoundedComponent;
|
||
2 years ago
|
|
||
4 years ago
|
Avatar.Group = Group;
|
||
5 years ago
|
|
||
|
export default Avatar;
|