The solution is wrapping children in View with flex:1
View
flex:1
<View style={{ flexDirection: 'row' }}> <View> // .... </View> <View style={{ flex: 1 }}> <Text>Your Text</Text> </View> </View>
Last updated 5 years ago