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