Skip to content

Commit

Permalink
feat: update to 0.69.1 (#282)
Browse files Browse the repository at this point in the history
* feat: update types to 0.69.1

* fix: delete a blank line

Co-authored-by: Radek Czemerys <7029942+radko93@users.noreply.github.com>
  • Loading branch information
YutaSugimura and radko93 authored Jul 1, 2022
1 parent a87fab7 commit e5e50c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions template/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @format
*/

import React from 'react';
import React, {type PropsWithChildren} from 'react';
import {
SafeAreaView,
ScrollView,
Expand All @@ -27,10 +27,11 @@ import {
ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';

const Section: React.FC<{
children: React.ReactNode;
title: string;
}> = ({children, title}) => {
const Section: React.FC<
PropsWithChildren<{
title: string;
}>
> = ({children, title}) => {
const isDarkMode = useColorScheme() === 'dark';
return (
<View style={styles.sectionContainer}>
Expand Down
4 changes: 2 additions & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
},
"dependencies": {
"react": "18.0.0",
"react-native": "0.69.0"
"react-native": "0.69.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@tsconfig/react-native": "^2.0.0",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.69.0",
"@types/react-native": "^0.69.1",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
Expand Down

0 comments on commit e5e50c5

Please sign in to comment.