Closed jaredspeters closed 11 months ago
Looks like there's a minor TypeScript issue with the import for ViewProps. I've patched it in our project to stop linter complaints.
ViewProps
diff --git a/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx b/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx index c813e48..e0b4585 100644 --- a/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx +++ b/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; -import { Dimensions, StyleSheet, ViewProps } from 'react-native'; +import { Dimensions, StyleSheet } from 'react-native'; +import type { ViewProps } from 'react-native'; import { NativeSafeAreaProvider } from './NativeSafeAreaProvider'; import type { EdgeInsets,
This issue body was partially generated by patch-package.
Could you do this as a PR?
PR here: https://github.com/th3rdwave/react-native-safe-area-context/pull/446
Looks like there's a minor TypeScript issue with the import for
ViewProps
. I've patched it in our project to stop linter complaints.This issue body was partially generated by patch-package.