把iconfont图标转化为antd的Icon图标

【把iconfont图标转化为antd的Icon图标】icon.js

import React, { Component } from 'react'; import Icon from '@ant-design/icons'; const warn = () => (); export const Warn = (props) => ;

menu.jsx
import { Warn, JobManage, Circyl, Event, SystemSet } from './icon'; { title: '首页', icon: , path: '/home', key: 'home' },

    推荐阅读