react native TouchableOpacity(點選漸變) TextInput
import React,{Component} from 'react';
import {View,Button,Text,TouchableOpacity,TextInput} from 'react-native';
export default class Demo09Component extends Component{
handlePress(){
alert('press');
}
render(){
return <TouchableOpacity onPress={this.handlePress}>
<Text>哈哈哈</Text>
<TextInput secureTextEntry={true} keyboardType="numeric" placeholder="請輸入使用者名稱"></TextInput>
</TouchableOpacity>
}
}
相關文章
- React Native 小記 – TouchableOpacity 單次點選無效React Native
- React Native 小記 - TouchableOpacity 單次點選無效React Native
- react-native TextInput 使用React
- React Native元件篇(三) — TextInput元件React Native元件
- 【譯】React Native中的動畫漸變React Native動畫
- react-native TextInput 中文輸入bug 曲線救國React
- React Native06 - TextInput元件、Touchable系列元件、QQ登入介面React Native元件
- 如何在react native中實現顏色漸變 - react-native-linear-gradient 基礎教程React Native
- React Native選擇器元件-react-native-slidepickerReact Native元件IDE
- React Native面試知識點React Native面試
- React Native 知識點整理React Native
- React Native 仿抖音點贊特效React Native特效
- React Native 實現城市選擇元件React Native元件
- React Native日期時間選擇元件React Native元件
- react-native 路由與選單demoReact路由
- react native社群專案知識點React Native
- windows下安裝react native要點WindowsReact Native
- [React Native]react-native-scrollabReact Native
- Airbnb: React Native 從選擇到放棄AIReact Native
- react-native基本知識點(4/4)React
- (譯)React Native 中的導航器怎麼選?React Native
- React Native 使用 react-native-webview 渲染 HTMLReact NativeWebViewHTML
- React Native Icon方案:react-native-svgReact NativeSVG
- React Native轉web方案:react-native-webReact NativeWeb
- iOS React Native 混合開發整合React NativeiOSReact Native
- 點選實現元素的漸隱或者漸現程式碼例項
- react-native配置react-native-image-crop-pickerReact
- React Native 上手React Native
- react-nativeReact
- react native FlatListReact Native
- Hello React NativeReact Native
- React Native / React除錯技巧React Native除錯
- 《React Native高效開發》之create-react-native-appReact NativeAPP
- React-native如何變為移動端的弄潮兒React
- react native 選擇手機照片頁面英文問題React Native
- css奇技淫巧-色彩漸變與動態漸變CSS
- CSS3線性漸變和徑向漸變CSSS3
- react native 包學不包會系列--認識react nativeReact Native