react-native-nativeuiexample
v1.0.1
Published
my RN native module demo
Downloads
8
Readme
react-native-NativeUIExample
新建一个RN项目,依次运行:
$ npm install --save react-native-nativeuiexample
$ npm install
$ react-native link
在js中新增代码:
import NativeUIExample from 'react-native-nativeuiexample';
<!--在render中-->
<NativeUIExample style={styles.test} />
运行:
$ react-native run-ios
可参考示例