Answers for "react native flexbox 2 columns 1 fixed width"

0

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>
Posted by: Guest on May-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language