// tslint:disable max-classes-per-file 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 { // tslint:disable-next-line max-line-length 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 ( {/* // @ts-ignore */} {/* // @ts-ignore */} A B C ); } } const icon = ( ); const Path: Example = { icon, samples: [PathExample, UnclosedPath, BezierCurve], }; export default Path;