我需要在React网络应用程序中分别使用默认的iOS和Android Picker。 我在React Native中发现了一个Picker组件,它显然是做我需要的: https://facebook.github.io/react-native/docs/picker.html 有没有办法在React中导入组件? 或者,可以切换React中的默认选择器?
I need to use respectively the default iOS and Android Picker in a React web app. I've found a Picker component in React Native which apparently does what I need: https://facebook.github.io/react-native/docs/picker.html Is there any way to import the component in React? Alternatively is it possible to toggle the default picker within React?
最满意答案
Github上有一个项目可以完成你想要的所谓的react-native-web,它可以在https://github.com/necolas/react-native-web找到。
我查看了存储库,发现它有你想使用的组件。
There is a project on Github to do exactly what you want called react-native-web which can be found at: https://github.com/necolas/react-native-web
I looked through the repository and found it has the component you want to use.
更多推荐
发布评论