Questions tagged [react-native-tab-view]

83 questions
0
votes
1 answer

How to pass props to FlatList with renderScene in react-native-tab-view?

I'm a newbie in React Native and trying to pass props to ListHeaderComponent in FlatList Here's the code: const FirstRoute = (props) => { const _renderHeader = () => { return( {props.isFollowed && …
user13283967
0
votes
3 answers

React native tab view, Press to switch tab doesn't works

I'm using the package "react-native-tab-view" in my app. To switch tab the swipe event is working really fine, but when I press the tab I want to go, it doesn't work, I don't know why... This is my component : export default function TabsMenu()…
Thibault Dumas
  • 1,060
  • 2
  • 10
  • 21
0
votes
1 answer

React Native: TabView not re-rendering after change

I am trying to change dynamically the contents of a TabView. Basically when the user opens the application, the screen fetches the user accounts and renders a tab for each different currency the user has. (So if the user has 10 USD accounts, only a…
Franco
  • 848
  • 1
  • 12
  • 24
0
votes
2 answers

how can I hide some tabs on react native tab view?

I used tab view react native on my app and I want to hide some tabs by changing settings but I don't know how can I do that. For now, I have 3 tabs: personal, company and material, in settings I can check the tabs, for example when company is not…
hanae
  • 91
  • 4
  • 18
0
votes
1 answer

How do I make a tabbar as in the picture using react-navigation with react native?

How do I make a tabbar as in the picture using react-navigation with react native? As in the picture , How do I do circle tab menu? react-native-svg path should I use? I tried this code : export default class TabNavigatorComponent extends…
0
votes
1 answer

React Native Tab View - don't render tab until it is clicked on

Is there anyway with react-native-tab-view to not render the tab until it is visible/clicked on? link: https://github.com/react-native-community/react-native-tab-view
Oatmeal
  • 39
  • 4
0
votes
1 answer

bundling failed: SyntaxError Unexpected token, expected react-native

renderScene ={SceneMap({ '1':() => , '2':() => here is full code render() { if(!this.state.loading){ return (
Naeem Ibrahim
  • 3,375
  • 1
  • 21
  • 21
0
votes
1 answer

Top tab bar without swipable activity in react native

I am looking for top tab bar not bottom without swipable activity i.e tabs should not scroll horizontally, we should go on other tabs only by clicking on it but not by side scrolling the tabs. Right now I am using Tabs from Native Base.I searched…
Mayuresh Patil
  • 2,072
  • 1
  • 21
  • 44
1 2 3 4 5
6