import { StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import {TextInput} from 'react-native-paper';
export default function App() {
return (
<View >
<TextInput />
<View style={{flexDirection:'row'}}>
<TouchableOpacity
style={styles.button}
onPress={()=>{}}
>
<Text style = {styles.text}>1</Text>
</TouchableOpacity>
<TouchableOpacity
style={styles.button}
onPress={()=>{}}
>
<Text style = {styles.text}>2</Text>
</TouchableOpacity>
</View>
</View>
);
}
const styles = StyleSheet.create({
button: {
alignItems: 'center',
backgroundColor: 'blue',
width: 100,
margin:5,
},
text: {
color: 'white'
}
});