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.
|
|
|
import type { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
|
|
import type { AvatarProps } from './avatar';
|
|
|
|
import InternalAvatar from './avatar';
|
|
|
|
import Group from './group';
|
|
|
|
|
|
|
|
export { AvatarProps } from './avatar';
|
|
|
|
export { GroupProps } from './group';
|
|
|
|
|
|
|
|
interface CompoundedComponent
|
|
|
|
extends ForwardRefExoticComponent<AvatarProps & RefAttributes<HTMLElement>> {
|
|
|
|
Group: typeof Group;
|
|
|
|
}
|
|
|
|
|
|
|
|
const Avatar = InternalAvatar as CompoundedComponent;
|
|
|
|
Avatar.Group = Group;
|
|
|
|
|
|
|
|
export { Group };
|
|
|
|
export default Avatar;
|