File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 88 * @format
99 */
1010
11- import React from 'react' ;
11+ import React , { type PropsWithChildren } from 'react' ;
1212import {
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 } >
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments