ant-design-vue/components/avatar/index.ts
2021-06-26 09:35:40 +08:00

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;
};