chore: upgrade example to react-native@0.65.1

This commit is contained in:
Dylan Vann
2021-09-17 13:27:50 +07:00
parent 2964acfbf4
commit 125f9ccde4
19 changed files with 1112 additions and 1086 deletions
@@ -11,7 +11,7 @@ import FastImage, { FastImageProps, Source } from 'react-native-fast-image'
import Section from './Section'
import FeatureText from './FeatureText'
import FieldsBase64 from './images/fields'
import {launchImageLibrary} from 'react-native-image-picker'
import { launchImageLibrary } from 'react-native-image-picker'
import BulletText from './BulletText'
// @ts-ignore
@@ -51,7 +51,7 @@ class PhotoExample extends Component<{}, PhotoExampleState> {
state: PhotoExampleState = {}
pick = () => {
launchImageLibrary({mediaType: 'photo'}, (response) => {
launchImageLibrary({ mediaType: 'photo' }, (response) => {
if (response.didCancel) {
console.log('ImagePicker - User cancelled.')
} else if (response.errorCode) {
+1 -1
View File
@@ -17,7 +17,7 @@ LogBox.ignoreLogs([
export default function App() {
return (
<NavigationContainer>
<Tab.Navigator>
<Tab.Navigator screenOptions={{ headerShown: false }}>
<Tab.Screen
name="FastImage Example"
component={FastImageExamples}