From 928320e53109c29e3d8a5c235899eaa5a69fece2 Mon Sep 17 00:00:00 2001 From: killi8n Date: Wed, 4 Nov 2020 15:48:29 +0900 Subject: [PATCH] feat: updated example tsx --- example/src/App.tsx | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index 967698c..ad983cf 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { StyleSheet, Button, SafeAreaView, Image } from 'react-native'; +import { StyleSheet, Button, SafeAreaView, Image, Text } from 'react-native'; import ImageSelector, { ImageSelectorCallbackResponse, } from 'react-native-image-selector'; @@ -17,7 +17,6 @@ export default function App() { console.log(error); return; } - console.log(response); setResponse(response); } ); @@ -30,12 +29,26 @@ export default function App() {