mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
854cdb4352
* type: optimize CompoundedComponent type * chore: fix * type: fix type * chore: fix * type: fix type * type: add ts-ignore * fix: fix * chore: revert
17 lines
357 B
TypeScript
17 lines
357 B
TypeScript
import InternalAvatar from './avatar';
|
|
import Group from './group';
|
|
|
|
export type { AvatarProps } from './avatar';
|
|
export type { GroupProps } from './group';
|
|
export { Group };
|
|
|
|
type CompoundedComponent = typeof InternalAvatar & {
|
|
Group: typeof Group;
|
|
};
|
|
|
|
const Avatar = InternalAvatar as CompoundedComponent;
|
|
|
|
Avatar.Group = Group;
|
|
|
|
export default Avatar;
|