Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
353eb0c27b | ||
|
|
14a3f49da3 | ||
|
|
41a4289f43 |
No files matched your search
+4
-3
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import type {Node} from 'react';
|
||||
import {
|
||||
SafeAreaView,
|
||||
ScrollView,
|
||||
@@ -28,7 +27,9 @@
|
||||
ReloadInstructions,
|
||||
} from 'react-native/Libraries/NewAppScreen';
|
||||
|
||||
const Section = ({children, title}): Node => {
|
||||
const Section: React.FC<{
|
||||
title: string;
|
||||
}> = ({children, title}) => {
|
||||
const isDarkMode = useColorScheme() === 'dark';
|
||||
return (
|
||||
<View style={styles.sectionContainer}>
|
||||
@@ -54,7 +55,7 @@
|
||||
);
|
||||
};
|
||||
|
||||
const App: () => Node = () => {
|
||||
const App = () => {
|
||||
const isDarkMode = useColorScheme() === 'dark';
|
||||
|
||||
const backgroundStyle = {
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "17.0.1",
|
||||
"react-native": "0.64.0"
|
||||
"react-native": "0.64.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.9",
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@react-native-community/eslint-config": "^2.0.0",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/react-native": "^0.63.51",
|
||||
"@types/jest": "^26.0.23",
|
||||
"@types/react-native": "^0.64.5",
|
||||
"@types/react-test-renderer": "^16.9.2",
|
||||
"babel-jest": "^26.6.3",
|
||||
"eslint": "^7.14.0",
|
||||
|
||||
Reference in new issue
Block a user