Skip to content

Commit e5e50c5

Browse files
feat: update to 0.69.1 (#282)
* feat: update types to 0.69.1 * fix: delete a blank line Co-authored-by: Radek Czemerys <[email protected]>
1 parent a87fab7 commit e5e50c5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

template/App.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @format
99
*/
1010

11-
import React from 'react';
11+
import React, {type PropsWithChildren} from 'react';
1212
import {
1313
SafeAreaView,
1414
ScrollView,
@@ -27,10 +27,11 @@ import {
2727
ReloadInstructions,
2828
} from 'react-native/Libraries/NewAppScreen';
2929

30-
const Section: React.FC<{
31-
children: React.ReactNode;
32-
title: string;
33-
}> = ({children, title}) => {
30+
const Section: React.FC<
31+
PropsWithChildren<{
32+
title: string;
33+
}>
34+
> = ({children, title}) => {
3435
const isDarkMode = useColorScheme() === 'dark';
3536
return (
3637
<View style={styles.sectionContainer}>

template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
},
1212
"dependencies": {
1313
"react": "18.0.0",
14-
"react-native": "0.69.0"
14+
"react-native": "0.69.1"
1515
},
1616
"devDependencies": {
1717
"@babel/core": "^7.12.9",
1818
"@babel/runtime": "^7.12.5",
1919
"@react-native-community/eslint-config": "^2.0.0",
2020
"@tsconfig/react-native": "^2.0.0",
2121
"@types/jest": "^26.0.23",
22-
"@types/react-native": "^0.69.0",
22+
"@types/react-native": "^0.69.1",
2323
"@types/react-test-renderer": "^18.0.0",
2424
"@typescript-eslint/eslint-plugin": "^5.29.0",
2525
"@typescript-eslint/parser": "^5.29.0",

0 commit comments

Comments
 (0)