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/icon/index.js

20 lines
336 B

import warning from '../_util/warning';
import Base from '../base';
const Icon = {
functional: true,
name: 'AIcon',
render() {
warning(false, 'Icon', 'Empty Icon');
return null;
},
};
/* istanbul ignore next */
Icon.install = function(Vue) {
Vue.use(Base);
Vue.component(Icon.name, Icon);
};
export default Icon;