I am using react-native-collapsible-tab-view when and I have dynamic tabs from API. I want a data to call further api when click on tab. here is my code
<Tabs.Container
renderHeader={Header}
renderTabBar={props => (
<MaterialTabBar
{...props}
indicatorStyle={styles.indicator}
scrollEnabled={true}
labelStyle={styles.labelStyle}
/>
)}
I am using react-native-collapsible-tab-view when and I have dynamic tabs from API. I want a data to call further api when click on tab. here is my code <Tabs.Container renderHeader={Header} renderTabBar={props => ( <MaterialTabBar {...props} indicatorStyle={styles.indicator} scrollEnabled={true} labelStyle={styles.labelStyle} /> )}