预览 二维码
/* @jsx createElement */
import {createElement, Component} from 'weex-rx';
import { View, Text, TextInput } from 'nuke-components';
import { Link } from 'nuke';
import {mount} from 'nuke-mounter';


let App = class Page extends Component {
  constructor(props){
    super(props);
  }
  render() {
    return <View style={{width:720}}>
              <Text>最上边的TextInput输入框</Text>
              <TextInput
              placeholder="试着输入一些内容"
              autoFocus multiline
              onFocus={() => console.log('onFocus')}
              onBlur={() => console.log('onBlur')}
              onInput={() => console.log('onInput')}
              style={{
                  width: '200rem',
                  height: '200rem',
                  border: '1px solid # 000'
              }}
            />

          </View>;
  }
}
mount(<App/>, mountNode);

自动化的输入框。