mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 18:09:22 +08:00
d5abbad8f1
* refactor: deprecatedWraning * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code
13 lines
260 B
TypeScript
Executable File
13 lines
260 B
TypeScript
Executable File
import { devUseWarning } from '../_util/warning';
|
|
|
|
const Icon: React.FC = () => {
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
const warning = devUseWarning('Icon');
|
|
|
|
warning(false, 'usage', 'Empty Icon');
|
|
}
|
|
return null;
|
|
};
|
|
|
|
export default Icon;
|