【发布时间】:2020-06-26 11:55:09
【问题描述】:
我使用“create-react-app”创建了一个反应应用程序,在我的一个项目文件中,我使用了以下导入语句;
import { Icon } from 'antd',
并收到以下错误:
Attempted import error: 'Icon' is not exported from 'antd'.
不确定是什么问题。请帮忙。
【问题讨论】:
标签: reactjs create-react-app antd