react-native创建searchbar
来源:互联网 发布:一句话网络段子精选 编辑:程序博客网 时间:2024/05/17 13:39
class SearchBar extends React.Component {
render() {
return (
<View style={styles.searchRow}>
<TextInput
autoCapitalize="none"
autoCorrect={false}
clearButtonMode="always"
placeholder="Please input your name..."
style={styles.searchTextInput}
/>
</View>
);
}
}
class SampleApp extends React.Component {
render() {
return (
<React.NavigatorIOS
style={styles.container}
initialRoute={{
title: '测试数据',
component: SearchBar,
}}/>
);
}
}
1 0
- react-native创建searchbar
- UILabel创建(React Native)
- react native demo创建
- 创建React Native项目
- react native项目创建
- 创建react-native项目
- UIImageView的创建(React Native)
- UITableViewCell组合创建(React Native)
- UIActivityIndicator的创建(React Native)
- React native 创建IOS项目
- React Native创建原生模块
- 快速创建React Native App
- react-native 简单的react-redux创建
- 利用 Create React Native App 快速创建 React Native 应用
- react native踩坑记(创建指定的React-Native版本)
- UITableView表格的创建(React Native)
- 创建React Native 离线 APP的过程
- React Native之创建iOS视图
- 究竟什么是数据仓库
- ios开发app瘦身
- 我的英文博客
- 循环队列的实现
- Android的Drawable
- react-native创建searchbar
- git 常用命令总结
- 走10级楼梯题目解法
- mongodb3更新数据java.lang.IllegalArgumentException: Invalid BSON field name _id
- java常用算法之螺旋矩阵
- href="javascript:xxx(this);"和onclick="javascript:xxx(this);"的区别
- Android 蓝牙设备与手机之间的数据传输
- dataTable 批量选中 当前页的所有列表数据
- js变量提升