Ant Design Mobile无法在React Native中工作

时间:2018-07-03 02:00:22

标签: reactjs react-native antd antd-mobile

output of genymotion

content of .babelrc and the window of genymotion

content of App.js

我只是在react native项目中从antd-mobile导入Button并像这样使用它。为什么会这样?我已经安装了babel-plugin-import,react-dom,antd-mobile。并且如上所述,我更改了.babelrc。

1 个答案:

答案 0 :(得分:0)

尝试Ant Design Mobile RN,这是专门为React Native设计的。

相关问题