import React, { Component } from 'react-native'; import Svg, { Rect } from 'react-native-svg'; class RectExample extends Component{ static title = 'Rect'; render() { return ; } } class RectStrokeFill extends Component{ static title = '`stroke` and `fill` Rect'; render() { return ; } } class RoundedRect extends Component{ static title = 'A rectangle with rounded corners'; render() { return ; } } class EllipseRect extends Component{ static title = 'Rect with different `rx` and `ry`'; render() { return ; } } class RoundOverflowRect extends Component{ static title = 'Rect with `rx` or `ry` overflowed'; render() { return ; } } const icon = ; const samples = [RectExample, RectStrokeFill, RoundedRect, EllipseRect, RoundOverflowRect]; export { icon, samples }