Skip to content

Commit da38667

Browse files
committed
fix: downgrade react-native version
1 parent c573cc8 commit da38667

File tree

4 files changed

+1020
-20
lines changed

4 files changed

+1020
-20
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default defineConfig([
2121
rules: {
2222
'react/react-in-jsx-scope': 'off',
2323
'prettier/prettier': 'error',
24+
'@react-native/no-deep-imports': 'off',
2425
},
2526
},
2627
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"eslint-plugin-prettier": "^5.5.4",
7878
"jest": "^29.7.0",
7979
"prettier": "^3.6.2",
80-
"react-native": "0.81.4",
80+
"react-native": "0.77.3",
8181
"react-native-builder-bob": "^0.40.13",
8282
"release-it": "^19.0.4",
8383
"turbo": "^2.5.6",

src/SecureViewNativeComponent.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { codegenNativeComponent, type ViewProps } from 'react-native';
1+
import { type ViewProps } from 'react-native';
2+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
23

34
interface NativeProps extends ViewProps {
45
enable?: boolean;

0 commit comments

Comments
 (0)