Hi,
I am trying to create a custom tab using native base Tab . I am adding an image inside the custom tab but unfortunately tab height is not increasing according to the image . Please help me out
this is my code
<Tabs >
<Tab style={{height :250}}
heading={ <TabHeading ><Image source={require('../../res/images/tab_selected_1.png')}/></TabHeading>}>
</Tab>
</Tabs>
I've this exact problem too
I have the same problem. How to adjust tab heading height?
Figured it out myself, share it to you guys:
height in native-base-theme/components/TabContainer.js.closing this issue
this is work for me
tabContainerStyle={{ height: 60 }}
tabBarUnderlineStyle={{
backgroundColor: "black",
height: 5,
}}
Most helpful comment
Figured it out myself, share it to you guys:
heightinnative-base-theme/components/TabContainer.js.