ptomasroos / react-native-tab-navigator

A tab bar that switches between scenes, written in JS for cross-platform support
MIT License
2.4k stars 416 forks source link

How do i use ScrollView to have a horizontal scrolling tabs ? #178

Closed amit-btc closed 6 years ago

amit-btc commented 6 years ago

I am trying to do this - https://youtu.be/6sGhDYYUoBM?t=23s

`

this.setState({selectedTab: 'profile'})}> ... more tab items `
amit-btc commented 6 years ago

Can someone help me please ?

ptomasroos commented 6 years ago

If you can please provide me with a demo repository which is runnable I'm def willing to help out with this!

amit-btc commented 6 years ago

@ptomasroos Here you go https://github.com/Amit-Kolambikar/fc/blob/master/App.js It doess't have much information apart from what I wrote in the post.

amit-btc commented 6 years ago

@ptomasroos This is the expo url - exp://192.168.0.103:19000

amit-btc commented 6 years ago

@ptomasroos Did you have a look ? I tried to add <View> but it still doesn't work