nuke-mounter
v0.1.4
Published
mounter
Downloads
28
Readme
mounter
- category: API
- chinese: mounter
- type: API能力
注意此组件不在nuke大包中提供
API
- mount 函数用于渲染 Rx 组件到对应节点。
mount(Component,element,callback)
示例
import {mount} from 'nuke-mounter';
let App = class NukeDemoIndex extends Component {
constructor() {
super();
}
render() {
return (
<View>
<Text>大家好</Text>
</View>
);
}
}
mount(<App/>, 'body');