how to give fixed layout for a text in react native code example
Example: react native flexbox 2 columns 1 fixed width
<View style={{flex: 1, flexDirection: 'row'}}>
<View style={{
backgroundColor: 'blue',
flexGrow: 1,
}}>
<Text>Fluid</Text>
</View>
<View style={{
backgroundColor: 'red',
width: 100,
}}>
<Text>Fixed</Text>
</View>
</View>