mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 20:20:00 +08:00
481fd209e2
* chore: 🆙 upgrade typescript-eslint * fix some lint * fix: some eslint errors * Update package.json * chore: 🆙 upgrade typescript-eslint * fix some lint * fix: some eslint errors * Update package.json * fix no use before define * Update package.json * fix lint Co-authored-by: yoyo837 <yoyo837@hotmail.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
18 lines
463 B
TypeScript
18 lines
463 B
TypeScript
import * as React from 'react';
|
|
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;
|