Closed Ulan4eg closed 3 years ago
It's in the material design specification
I will accept a PR which will disable the space with a prop
thnx!
You can now disable with showLeadingSpace={false}
<Tabs
showLeadingSpace={false} // (default=true) show leading space in scrollable tabs inside the header
theme={tabsTheme} // works the same as AppBar in react-native-paper
mode="scrollable" // fixed, scrollable | default=fixed
>
< TabScreen label='Инфо'>
<View style={{ backgroundColor: 'blue', flex:1 }} />
< / TabScreen>
< TabScreen label='При'>
<View style={{ backgroundColor: 'red', flex:1 }} />
< / TabScreen >
< TabScreen label='123' >
<View style={{ backgroundColor: 'green', flex:1 }} />
< / TabScreen >
</Tabs>