预览 二维码

/** @jsx createElement */
import {createElement, Component} from 'weex-rx';
import { View, Text} from 'nuke-components';
import { Feedback } from 'nuke';
import {mount} from 'nuke-mounter';


let App = class NukeDemoIndex extends Component {
    constructor() {
        super();

    }

    press() {
        console.log(11111111)  
    }

    render() {
        return (
            <View>
               <Feedback type="success">
                        There is something right for the right there is something right
                    </Feedback>
                    <Feedback type="error">
                        There is something error for the error there is something error
                    </Feedback>
                    <Feedback type="warning">
                        There is something warning for the warning there is something warning
                    </Feedback>
            </View>

        );
    }
}

mount(<App/>, mountNode);

普通按钮。