react-native-geometrical-shapes
v1.0.0
Published
import and use geometical shapes
Downloads
2
Maintainers
Readme
Learn about geometrical shapes
example import React, {useState, useEffect} from 'react'; import { Text, TouchableOpacity, View } from 'react-native'; import Shapes from './src/components/shapes'; import AllShapes from 'my_native_module'; import ShapesLister from './src/components/ShapeLister'; function App() { const [selectedshape, setSelectedshape] = useState('circle') const [myshapes, setsetMyshapes] = useState([]) console.log(AllShapes) useEffect(()=>{ setsetMyshapes(AllShapes) },[]) return ( ); }
export default App;