fix: fontSize on tabBarLabel decreased

This commit is contained in:
Jonathan Edenström 2021-09-14 09:19:25 +02:00
parent dfe2bd5012
commit 36bc62752a
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import { StyleService, Text, useStyleSheet } from '@ui-kitten/components'
import React from 'react'
import { View } from 'react-native'
import { fontSize } from '../styles/typography'
export type TabBarLabelProps = {
label: string
@ -25,8 +26,8 @@ export const TabBarLabel = ({ label, focused }: TabBarLabelProps) => {
const themedStyles = StyleService.create({
label: {
fontWeight: '600',
fontSize: 12,
color: 'color-tab-default',
...fontSize.xxs,
},
focused: {
color: 'color-tab-focused',