Warning: Icon should have `type` prop or `component` prop or `children`.
How to troubleshoot the issue?
import React from 'react';
import { bindActionCreators,createStore } from 'redux';
import { Link, browserHistory } from 'react-router';
import { connect } from 'react-redux';
import actions from '../../actions/information/inforResource.js';
import Dropdown from '../../components/common/dropdown.js';
import ListSearch from '../../components/common/listSearch.js';
import moment from 'moment';
import {Modal, Icon, Button, Row, Col, Form, DatePicker, Select, Table, Input, Pagination, Menu, Tooltip, Drawer, message, Avatar} from 'antd';
<Icon type="delete"/>
我删除了页面的图标标签,仍然报错。我删除了子组件中的Icon标签,仍然报错。
react.development.js?99ee:335
Warning: Icon should have `type` prop or
`component` prop or `children`.
printWarning warning.js?bcd6:34
warning warning.js?bcd6:57
_default warning.js?fe52:16
Icon index.js?be01:80
renderWithHooks react-dom.development.js?cada:12938
mountIndeterminateComponent react-dom.development.js?cada:15020
beginWork react-dom.development.js?cada:15625