Skip to content

Commit cb62474

Browse files
committed
fix(input): 🏷️ add type assertion to the web focussed style
1 parent 270df7f commit cb62474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/input/Input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { forwardRef, ReactNode, useMemo, useRef, useState } from "react";
2-
import { Platform, TextInputProps } from "react-native";
2+
import { Platform, TextInputProps, TextStyle } from "react-native";
33

44
import { Box, BoxProps, RNTextInput, TouchableProps } from "../../primitives";
55
import { getTextFontFamily, useTailwind, useTheme } from "../../theme";
@@ -298,7 +298,7 @@ const RNInput: React.FC<Partial<InputProps>> = forwardRef<
298298
?.color,
299299
) as string,
300300
),
301-
},
301+
} as TextStyle,
302302
})
303303
: {},
304304
styleAdapter(textInputStyle),

0 commit comments

Comments
 (0)