Fixes cut off title in ios
This commit is contained in:
parent
4e83bc91be
commit
b78ec83970
|
@ -28,5 +28,5 @@ const styles = StyleSheet.create({
|
|||
...fontSize.base,
|
||||
fontWeight: '500',
|
||||
},
|
||||
subtitle: { ...fontSize.xs },
|
||||
subtitle: { ...fontSize.xxs },
|
||||
})
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
import { TextStyle } from 'react-native'
|
||||
import { systemWeights } from 'react-native-typography'
|
||||
|
||||
type FontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl'
|
||||
type FontSize = 'xxs' | 'xs' | 'sm' | 'base' | 'lg' | 'xl'
|
||||
export const fontSize: Record<FontSize, TextStyle> = {
|
||||
xxs: {
|
||||
fontSize: 8,
|
||||
},
|
||||
xs: {
|
||||
fontSize: 12,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue