We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9f430 commit dbc5990Copy full SHA for dbc5990
src/utils/fonts.tsx
@@ -1,6 +1,4 @@
1
import { StyleSheet, Text, type TextProps } from 'react-native'
2
-import Animated from 'react-native-reanimated'
3
-import { layout } from './utils'
4
5
export const REGULAR = {
6
fontFamily: 'JosefinSans-Regular',
@@ -20,9 +18,9 @@ export const LIGHT = {
20
18
21
19
export function Medium({ children, style, ...props }: TextProps) {
22
return (
23
- <Animated.Text style={[MEDIUM, style]} {...props} layout={layout}>
+ <Text style={[MEDIUM, style]} {...props}>
24
{children}
25
- </Animated.Text>
+ </Text>
26
)
27
}
28
0 commit comments