React Native
猴而
这个作者很懒,什么都没留下…
展开
-
React Native 之Alert
import React, {Component} from 'react'; import { StyleSheet, View, Text, Alert, } from 'react-native'; class Alert extends Component { render() { return (原创 2017-03-18 15:39:49 · 471 阅读 · 0 评论 -
点击按钮自动聚焦TextInput文本框
{this.TextInput.focus()}} style={styles.boxTime}> 回复 this.TextInput = TextInput}/>原创 2017-02-16 17:04:25 · 2715 阅读 · 0 评论 -
react native 效果合集
https://github.com/sundayhd/react-native-display https://github.com/ProjectSeptemberInc/gl-react-native https://github.com/mastermoo/react-native-action-button https://github.com/oblador/react-nati原创 2017-03-18 15:45:37 · 1179 阅读 · 0 评论 -
react native 单选复选
this.state = { //单选 isMan:true, //多选secret secret:false, }; 性别: { this.state.isMan ? : this.setState({isMan:true})}> } 女 { !this.state.isMan ? : this.setState({isMan:false})}> } 男 {/*多选*/原创 2017-03-18 15:48:44 · 1166 阅读 · 0 评论