mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +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;
|