import React from 'react'; import * as Svg from 'react-native-svg'; import Example from './Example'; const { G, Circle, Text } = Svg; class PathExample extends React.Component { static title = 'Path'; render() { return ( ); } } class UnclosedPath extends React.Component { static title = 'Unclosed paths'; render() { return ( ); } } class BezierCurve extends React.Component { static title = 'The following example creates a quadratic Bézier curve, where A and C are the start and end points, B is the control point'; render() { return ( A B C ); } } const icon = ( ); const Path: Example = { icon, samples: [PathExample, UnclosedPath, BezierCurve], }; export default Path;