import AvatarDefault from './Avatar' ; import AvatarBadge from './Badge' ; import AvatarGroup from './Group' ; import type { IAvatarComponentType } from './types' ; let AvatarTemp = AvatarDefault ; AvatarTemp . Badge = AvatarBadge ; AvatarTemp . Group = AvatarGroup ; const Avatar = AvatarTemp as IAvatarComponentType ; export { Avatar } ; export type { IAvatarProps , IAvatarBadgeProps } from './types' ;