UNPKG

1.1 kBSource Map (JSON)View Raw
1{"version":3,"sources":["Path.tsx"],"names":["React","requireNativeComponent","extract","Shape","Path","props","refMethod","d","displayName","RNSVGPath"],"mappings":"geAAA,MAAOA,CAAAA,KAAP,KAAkB,OAAlB,CACA,OAASC,sBAAT,KAAuC,cAAvC,CACA,OAASC,OAAT,KAAwB,6BAAxB,CACA,MAAOC,CAAAA,KAAP,KAAkB,SAAlB,C,GAEqBC,CAAAA,I,iOAKV,IACCC,CAAAA,KADD,CACW,IADX,CACCA,KADD,CAEP,MACE,qBAAC,SAAD,WAAW,GAAG,CAAE,KAAKC,SAArB,EAAoCJ,OAAO,CAAC,IAAD,CAAOG,KAAP,CAA3C,EAA0D,CAAC,CAAEA,KAAK,CAACE,CAAnE,kDADF,CAGD,C,kBAV+BJ,K,EAAbC,I,CAGZI,W,CAAc,M,QAHFJ,I,aAarB,MAAO,IAAMK,CAAAA,SAAS,CAAGR,sBAAsB,CAAC,WAAD,CAAxC","sourcesContent":["import React from 'react';\nimport { requireNativeComponent } from 'react-native';\nimport { extract } from '../lib/extract/extractProps';\nimport Shape from './Shape';\n\nexport default class Path extends Shape<{\n d?: string;\n}> {\n static displayName = 'Path';\n\n render() {\n const { props } = this;\n return (\n <RNSVGPath ref={this.refMethod} {...extract(this, props)} d={props.d} />\n );\n }\n}\n\nexport const RNSVGPath = requireNativeComponent('RNSVGPath');\n"]}
\No newline at end of file