What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-24 22:55:02
button size react native
/* I recommend you to use the TouchableOpacity component to build your own button, with own properties and styles. You can easily style it like this:*/ <TouchableOpacity style={{ height: 100, marginTop: 10 }}> <Text>My button</Text> ... Add solution -
Javascript 2021-11-09 23:25:15
image touchable opacity react native
<TouchableOpacity style={{flexDirection:"row",alignItems:'center',justifyContent:'center'}}> <Text style={{flex:.8}}>Login</Text> <Image source={require('../../common/arrow.png')} resizeMode='contain' style={{flex:.2... Add solution -
Javascript 2021-09-12 10:22:02
text input underline react native
import React, {Component} from 'react'; import {StyleSheet, Text, View,TextInput,TouchableOpacity} from 'react-native'; export default class App extends Component { render() { return ( <View style={styles.container}> <Text st... Add solution