You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/avatar/index.ts

21 lines
553 B

import type { App, Plugin } from 'vue';
import Avatar from './Avatar';
import Group from './Group';
export { avatarProps } from './Avatar';
export type { AvatarProps, AvatarSize } from './Avatar';
export type { 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;
};