This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
Penpot-App/options/TabOptions.js

42 lines
No EOL
903 B
JavaScript

import * as React from 'react'
import {StyleSheet} from 'react-native'
export default screenOptions = {
lazy: true,
swipeEnabled: false,
tabBarGap: 10,
activeTintColor: "#FFF",
inactiveTintColor: "gray",
tabBarIndicatorStyle: {
backgroundColor: '#202020',
height: 40,
top: 4,
margin: 0,
borderRadius: 10,
marginLeft: 6
},
tabBarStyle:{
backgroundColor:'#303236',
width: "auto",
height: 48,
paddingLeft: 6
},
labelStyle: {
fontSize: 10,
margin: 0,
padding: 0,
},
tabBarItemStyle:{
alignSelf: 'stretch',
color: 'white',
backgroundColor: 'rgba(0, 0, 0, 0)',
textAlign: 'left',
paddingHorizontal: 0,
position: 'relative',
width: 160,
},
tabBarLabelStyle: {
fontSize: 10,
color: 'white',
textAlign: 'left'
},
}