I have a view and a scroll view that currently take up the full height due to the flex: 1 property. I'm trying to figure out how the have this view only take up the amount of space that the content within the scroll view takes up. Is this possible?
<View style={{ flex: 1 }}>
<ScrollView style={{ flexDirection: 'row', flex: 1 }}>...</ScrollView>
</View>