0.1.4 • Published 7 years ago

nuke-mounter v0.1.4

Weekly downloads
19
License
-
Repository
gitlab
Last release
7 years ago

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');
0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago