Wrap all <Text> in a helper that ensures black color is applied by default

This commit is contained in:
Paul Frazee 2022-12-20 12:49:44 -06:00
parent 74d76fbc6a
commit abcfc11fe0
54 changed files with 110 additions and 82 deletions

View file

@ -2,10 +2,10 @@ import React, {createRef, useState, useMemo} from 'react'
import {
Animated,
StyleSheet,
Text,
TouchableWithoutFeedback,
View,
} from 'react-native'
import {Text} from './Text'
import {colors} from '../../lib/styles'
interface Layout {
@ -122,6 +122,7 @@ const styles = StyleSheet.create({
labelSelected: {
fontWeight: '600',
fontSize: 16,
color: colors.black,
},
underline: {
position: 'absolute',