how can i use a scrollview inside a view i tried to add a scrollview inside a view but it hides the icons Style
class HomeScreen extends Component {
render()
{
return (
<View style = {styles.container}>
<View style= {styles.category}>
<ScrollView horizontal={true}>
<View style={styles.categoryIcons} >
<Icon name="md-restaurant" size={35} color="#75DA8B">
</Icon>
</View>
<View style={styles.categoryIcons}>
<Icon name="md-fast-food" size={35} color="#75DA8B">
</Icon>
</View>
</ScrollView>
</View>
</View>
);
}
}
const styles = StyleSheet.create({ container: { height:'93%', width:'100%', },
flexview:{
flexDirection:'row',
justifyContent:'space-between'
}
})