前端
猴而
这个作者很懒,什么都没留下…
展开
-
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 · 450 阅读 · 0 评论 -
点击按钮自动聚焦TextInput文本框
{this.TextInput.focus()}} style={styles.boxTime}> 回复 this.TextInput = TextInput}/>原创 2017-02-16 17:04:25 · 2701 阅读 · 0 评论 -
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 · 1146 阅读 · 0 评论 -
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 阅读 · 0 评论