element/packages/avatar/index.js
luckyCao 6f9ce3accb Avatar: Add avatar component (#16144)
* add avatar component

* 1. add test 2. add types 3. refine doc 4. add img attr

* add props in types and doc

* refine how image fit its container

* fix doc

* refine doc

* change default background color

* remote style demo from doc

* add theme

* add demo on theme preview and change var name
2019-06-24 16:37:17 +08:00

9 lines
159 B
JavaScript

import Avatar from './src/main';
/* istanbul ignore next */
Avatar.install = function(Vue) {
Vue.component(Avatar.name, Avatar);
};
export default Avatar;