I'm using react-native and want to make a layout that looks like the image below, where the two divs are equal size until the right one ends, where then the left takes up te whole container. I thought I may be able to do this in grid, but react-native doesn't support grid so I can't use that. Is there another way I can accomplish this?(sorry for the sloppy drawing skills)
Here is the code in question, I want the english view to take up the whole width once the hebrew view is finished.
<ScrollView>
<View style={styles.textContainer}>
<View style={{flex: 1}}>
<Text>
{props.english}
</Text>
</View>
<View style={{flex: 1}}>
<Text>
{props.hebrew}
</Text>
</View>
</View>
</ScrollView>