/* eslint-disable react-native/no-inline-styles */ //@flow import React, { useState, useCallback } from 'react'; import { SafeAreaView, Image, View } from 'react-native'; import ViewShot from 'react-native-view-shot'; import { Surface, Group, Shape } from '@react-native-community/art'; import Desc from './Desc'; const dimension = { width: 300, height: 300 }; const ARTExample = () => { const [source, setSource] = useState(null); const onCapture = useCallback(uri => setSource({ uri }), []); return ( ); }; ARTExample.navigationOptions = { title: '@react-native-community/art', }; export default ARTExample;