Ant design mobile failed to work in react native

798 Views Asked by At

output of genymotion

content of .babelrc and the window of genymotion

content of App.js

I simply import Button from antd-mobile in a project of react native and use it like this. Why does such things happen? I have already installed babel-plugin-import, react-dom, antd-mobile. And I have changed .babelrc as showed above.

1

There are 1 best solutions below

0
On

Try Ant Design Mobile RN, Specifically designed for React Native.