ant-design-vue/components/icon/index.tsx

12 lines
229 B
Vue
Raw Normal View History

2020-09-18 12:15:01 +08:00
import warning from '../_util/warning';
2020-11-01 15:03:33 +08:00
import { withInstall } from '../_util/type';
2020-09-18 12:15:01 +08:00
const Icon = () => {
warning(false, 'Icon', 'Empty Icon');
return null;
};
Icon.displayName = 'AIcon';
2020-11-01 15:03:33 +08:00
export default withInstall(Icon);