mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +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;
|