2021-05-12 11:56:23 +00:00
|
|
|
import { App } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Avatar from './Avatar';
|
2021-05-12 11:56:23 +00:00
|
|
|
import Group from './Group';
|
2017-11-09 10:57:34 +00:00
|
|
|
|
2021-05-12 11:56:23 +00:00
|
|
|
export { AvatarProps, AvatarSize } from './Avatar';
|
|
|
|
export { AvatarGroupProps } from './Group';
|
2021-05-10 10:11:18 +00:00
|
|
|
|
2021-05-12 11:56:23 +00:00
|
|
|
Avatar.Group = Group;
|
|
|
|
|
|
|
|
/* istanbul ignore next */
|
|
|
|
Avatar.install = function(app: App) {
|
|
|
|
app.component(Avatar.name, Avatar);
|
|
|
|
app.component(Group.name, Group);
|
|
|
|
return app;
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Avatar as typeof Avatar &
|
|
|
|
Plugin & {
|
|
|
|
readonly Group: typeof Group;
|
|
|
|
};
|