mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
21 lines
517 B
TypeScript
21 lines
517 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Avatar from './Avatar';
|
|
import Group from './Group';
|
|
|
|
export { AvatarProps, AvatarSize, avatarProps } from './Avatar';
|
|
export { AvatarGroupProps } from './Group';
|
|
|
|
Avatar.Group = Group;
|
|
|
|
/* istanbul ignore next */
|
|
Avatar.install = function (app: App) {
|
|
app.component(Avatar.name, Avatar);
|
|
app.component(Group.name, Group);
|
|
return app;
|
|
};
|
|
export { Group as AvatarGroup };
|
|
export default Avatar as typeof Avatar &
|
|
Plugin & {
|
|
readonly Group: typeof Group;
|
|
};
|