Skip to content

Commit 7b30c14

Browse files
committed
refactor: ensure top styles are applied to NitroTextView
1 parent 3921bc5 commit 7b30c14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/nitro-text.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ export const NitroText = (props: NitroTextPropsWithEvents) => {
103103
onPress: callback(onPress) || undefined,
104104
onPressIn: callback(onPressIn) || undefined,
105105
onPressOut: callback(onPressOut) || undefined,
106-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
107-
style: { ...(style as any), ...styleProps },
106+
style,
107+
...styleProps,
108108
onTextLayout: callback(onTextLayout) || undefined,
109109
}
110110
// eslint-disable-next-line react-hooks/exhaustive-deps

0 commit comments

Comments
 (0)