File tree 2 files changed +8
-7
lines changed 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 8
8
* @format
9
9
*/
10
10
11
- import React from 'react' ;
11
+ import React , { type PropsWithChildren } from 'react' ;
12
12
import {
13
13
SafeAreaView ,
14
14
ScrollView ,
@@ -27,10 +27,11 @@ import {
27
27
ReloadInstructions ,
28
28
} from 'react-native/Libraries/NewAppScreen' ;
29
29
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} ) => {
34
35
const isDarkMode = useColorScheme ( ) === 'dark' ;
35
36
return (
36
37
< View style = { styles . sectionContainer } >
Original file line number Diff line number Diff line change 11
11
},
12
12
"dependencies" : {
13
13
"react" : " 18.0.0" ,
14
- "react-native" : " 0.69.0 "
14
+ "react-native" : " 0.69.1 "
15
15
},
16
16
"devDependencies" : {
17
17
"@babel/core" : " ^7.12.9" ,
18
18
"@babel/runtime" : " ^7.12.5" ,
19
19
"@react-native-community/eslint-config" : " ^2.0.0" ,
20
20
"@tsconfig/react-native" : " ^2.0.0" ,
21
21
"@types/jest" : " ^26.0.23" ,
22
- "@types/react-native" : " ^0.69.0 " ,
22
+ "@types/react-native" : " ^0.69.1 " ,
23
23
"@types/react-test-renderer" : " ^18.0.0" ,
24
24
"@typescript-eslint/eslint-plugin" : " ^5.29.0" ,
25
25
"@typescript-eslint/parser" : " ^5.29.0" ,
You can’t perform that action at this time.
0 commit comments