UNPKG

1.26 kBJavaScriptView Raw
1import _extends from"@babel/runtime/helpers/extends";import _classCallCheck from"@babel/runtime/helpers/classCallCheck";import _createClass from"@babel/runtime/helpers/createClass";import _possibleConstructorReturn from"@babel/runtime/helpers/possibleConstructorReturn";import _getPrototypeOf from"@babel/runtime/helpers/getPrototypeOf";import _inherits from"@babel/runtime/helpers/inherits";var _jsxFileName="/Users/msand/WebstormProjects/react-native-svg/src/elements/ClipPath.tsx";import React from'react';import{requireNativeComponent}from'react-native';import{extract}from'../lib/extract/extractProps';import Shape from'./Shape';var ClipPath=function(_Shape){_inherits(ClipPath,_Shape);function ClipPath(){_classCallCheck(this,ClipPath);return _possibleConstructorReturn(this,_getPrototypeOf(ClipPath).apply(this,arguments));}_createClass(ClipPath,[{key:"render",value:function render(){var props=this.props;return React.createElement(RNSVGClipPath,_extends({ref:this.refMethod},extract(this,props),{__source:{fileName:_jsxFileName,lineNumber:12}}),props.children);}}]);return ClipPath;}(Shape);ClipPath.displayName='ClipPath';export{ClipPath as default};export var RNSVGClipPath=requireNativeComponent('RNSVGClipPath');
2//# sourceMappingURL=ClipPath.js.map
\No newline at end of file