We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3921bc5 commit 7b30c14Copy full SHA for 7b30c14
1 file changed
src/nitro-text.tsx
@@ -103,8 +103,8 @@ export const NitroText = (props: NitroTextPropsWithEvents) => {
103
onPress: callback(onPress) || undefined,
104
onPressIn: callback(onPressIn) || undefined,
105
onPressOut: callback(onPressOut) || undefined,
106
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
107
- style: { ...(style as any), ...styleProps },
+ style,
+ ...styleProps,
108
onTextLayout: callback(onTextLayout) || undefined,
109
}
110
// eslint-disable-next-line react-hooks/exhaustive-deps
0 commit comments