Skip to content

Commit

Permalink
fix: indicator tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
tangimds committed Oct 12, 2021
1 parent 5c4dd37 commit 9a3aebc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/navigation/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,15 @@ const Tabs = ({navigation, route}) => {
swipeEnabled={true}
tabBarPosition="bottom"
tabBarOptions={{
activeTintColor: '#26387C',
inactiveTintColor: '#26387C40',
activeTintColor: colors.LIGHT_BLUE,
inactiveTintColor: colors.BLUE,
showIcon: true,
indicatorStyle: {height: 0},
indicatorStyle: {
height: 3,
top: 0,
backgroundColor: colors.LIGHT_BLUE,
borderRadius: 5,
},
style: styles.tabBar,
labelStyle: {
textTransform: 'capitalize',
Expand Down Expand Up @@ -98,8 +103,6 @@ const Tabs = ({navigation, route}) => {

const styles = StyleSheet.create({
tabBar: {
borderColor: colors.LIGHT_BLUE,
borderWidth: 1,
maxHeight: 80,
},
surveyButton: {
Expand Down

0 comments on commit 9a3aebc

Please sign in to comment.