//@flow import React, { useState, useCallback } from 'react'; import { SafeAreaView, Image } from 'react-native'; import ViewShot from 'react-native-view-shot'; import SvgUri from 'react-native-svg-uri'; import Desc from './Desc'; const dimension = { width: 300, height: 300 }; const SvgUriExample = () => { const [source, setSource] = useState(null); const onCapture = useCallback(uri => setSource({ uri }), []); return ( ); }; SvgUriExample.navigationOptions = { title: 'react-native-svg-uri', }; export default SvgUriExample;