Как нарисовать линию с двумя надписями, одним спереди, а другим в центре, как показано ниже
<View style ={{flexDirection: 'row', flex:1,
justifyContent: 'space-between',
borderBottomLeftRadius: 0,
borderBottomRightRadius:0,
borderTopLeftRadius: 0,
borderTopRightRadius: 0,
borderTopWidth: 0,
borderBottomWidth: 1,
marginBottom:5,
marginTop: 5,
borderLeftWidth:0,
borderColor:'grey',
borderRightWidth:0,
}}>
<Text style ={{fontSize:14,marginBottom:5}}> NAME </Text>
<TouchableOpacity>
<View style = {{justifyContent: 'center', flex:1, alignItems: 'center'}}>
<Text style = {{ fontSize: 14, textAlign:'center', marginBottom:5}}> 'SELECT' </Text>
</View>
</TouchableOpacity>
</View>