mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
17 lines
431 B
TypeScript
17 lines
431 B
TypeScript
import InternalAvatar, { AvatarProps } from './avatar';
|
|
import Group from './group';
|
|
|
|
export { AvatarProps } from './avatar';
|
|
export { GroupProps } from './group';
|
|
|
|
interface CompoundedComponent
|
|
extends React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLElement>> {
|
|
Group: typeof Group;
|
|
}
|
|
|
|
const Avatar = InternalAvatar as CompoundedComponent;
|
|
Avatar.Group = Group;
|
|
|
|
export { Group };
|
|
export default Avatar;
|