- 博客(4)
- 收藏
- 关注
原创 react native 单选复选
this.state = {//单选isMan:true,//多选secretsecret:false,};性别:{this.state.isMan ?: this.setState({isMan:true})}>}女{!this.state.isMan ?: this.setState({isMan:false})}>}男{/*多选*/
2017-03-18 15:48:44 1140
原创 react native 效果合集
https://github.com/sundayhd/react-native-displayhttps://github.com/ProjectSeptemberInc/gl-react-nativehttps://github.com/mastermoo/react-native-action-buttonhttps://github.com/oblador/react-nati
2017-03-18 15:45:37 1144
原创 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 447
原创 点击按钮自动聚焦TextInput文本框
{this.TextInput.focus()}} style={styles.boxTime}> 回复 this.TextInput = TextInput}/>
2017-02-16 17:04:25 2701
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人