import React from 'react'; import * as Svg from 'react-native-svg'; import Example from './Example'; const { G } = Svg; class PolygonExample extends React.Component { static title = 'The following example creates a polygon with three sides'; render() { return ( ); } } class FourSidePolygon extends React.Component { static title = 'The following example creates a polygon with four sides'; render() { return ( ); } } class StarPolygon extends React.Component { static title = 'Use the element to create a star'; render() { return ( ); } } class EvenOddPolygon extends React.Component { static title = 'Change the fill-rule property to "evenodd"'; render() { return ( ); } } const icon = ( ); const Polygon: Example = { icon, samples: [PolygonExample, FourSidePolygon, StarPolygon, EvenOddPolygon], }; export default Polygon;