react native 原生模块桥接的简单说明小结(2)

import { requireNativeComponent } from "react-native" const MyNativeComponent = requireNativeComponent("RNNativeComponent", RNNativeComponent, { nativeOnly: { } }) <MyNativeComponent prop={this.props.prop}>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/91f3541d418f09ec4ccbd899af9fc9aa.html