ant-design-vue/components/icon/index.tsx
2020-11-01 15:03:33 +08:00

12 lines
229 B
TypeScript

import warning from '../_util/warning';
import { withInstall } from '../_util/type';
const Icon = () => {
warning(false, 'Icon', 'Empty Icon');
return null;
};
Icon.displayName = 'AIcon';
export default withInstall(Icon);