text: var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf3=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var _assertThisInitialized2=_interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var React=_interopRequireWildcard(require("react"));var _extractProps=_interopRequireWildcard(require("../lib/extract/extractProps"));var _extractText=require("../lib/extract/extractText");var _extractTransform=_interopRequireDefault(require("../lib/extract/extractTransform"));var _Shape2=_interopRequireDefault(require("./Shape"));var _NativeComponents=require("./NativeComponents");var _jsxFileName="/Users/ilia/Projects/Tapingo/react-native-svg/src/elements/G.tsx";var G=function(_Shape){(0,_inherits2.default)(G,_Shape);function G(){var _getPrototypeOf2;var _this;(0,_classCallCheck2.default)(this,G);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}_this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(G)).call.apply(_getPrototypeOf2,[this].concat(args)));(0,_defineProperty2.default)((0,_assertThisInitialized2.default)(_this),"setNativeProps",function(props){var matrix=!props.matrix&&(0,_extractTransform.default)(props);if(matrix){props.matrix=matrix;}_this.root&&_this.root.setNativeProps(props);});return _this;}(0,_createClass2.default)(G,[{key:"render",value:function render(){var props=this.props;var prop=(0,_extractProps.propsAndStyles)(props);var extractedProps=(0,_extractProps.default)(prop,this);var font=(0,_extractText.extractFont)(prop);if(hasProps(font)){extractedProps.font=font;}return React.createElement(_NativeComponents.RNSVGGroup,(0,_extends2.default)({ref:this.refMethod},extractedProps,{__source:{fileName:_jsxFileName,lineNumber:33}}),props.children);}}]);return G;}(_Shape2.default);exports.default=G;(0,_defineProperty2.default)(G,"displayName",'G');var hasProps=function hasProps(obj){for(var _ in obj){return true;}return false;};
  //# sourceMappingURL=G.js.map