UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 6.06 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } var React = require('react'); var IconBase = require('react-icon-base'); var GoPlug = function (_React$Component) { _inherits(GoPlug, _React$Component); function GoPlug() { _classCallCheck(this, GoPlug); return _possibleConstructorReturn(this, Object.getPrototypeOf(GoPlug).apply(this, arguments)); } _createClass(GoPlug, [{ key: 'render', value: function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 40 40' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'm39.195 7.995l-0.03499999999999659-0.03500000000000014c-0.9662500000000023-0.9662499999999996-2.5337499999999977-0.9662499999999996-3.5 0l-1.7850000000000037 1.785000000000001-3.535-3.535 1.7850000000000001-1.785000000000001c0.9662500000000023-0.96625 0.9662500000000023-2.5337500000000004 0-3.5l-0.03499999999999659-0.03500000000000003c-0.9662499999999987-0.96625-2.5337500000000013-0.96625-3.5 0l-1.875 1.875c-2.4250000000000007-1.60875-5.727499999999999-1.34375-7.865000000000002 0.7937500000000002l-0.9725000000000001 0.9725000000000001c-4.258749999999999 4.258749999999999-4.762499999999999 10.8475-1.5175000000000018 15.66l-0.16250000000000142 0.16250000000000142c-2.4375 2.4375-2.4399999999999995 6.385000000000002-0.010000000000001563 8.825 0.48499999999999943 0.4875000000000007 0.4937499999999986 1.3024999999999984 0.004999999999999005 1.7875000000000014s-1.2750000000000004 0.47875000000000156-1.7624999999999993-0.007500000000000284l-3.492499999999996-3.4937499999999986c-2.446249999999999-2.446249999999999-6.4312499999999995-2.490000000000002-8.87875-0.045000000000001705-2.4425 2.4400000000000013-2.44375 6.399999999999999-0.0024999999999999467 8.841250000000002l0.3424999999999998 0.3412500000000023c0.9649999999999999 0.9662500000000023 2.5324999999999998 0.9662500000000023 3.5 0l0.03375000000000039-0.03499999999999659c0.9662499999999996-0.9662500000000023 0.9662499999999996-2.5337499999999977 0-3.5l-0.3250000000000002-0.32500000000000284c-0.4800000000000004-0.4799999999999969-0.5099999999999998-1.2650000000000006-0.04124999999999979-1.759999999999998 0.4874999999999998-0.5124999999999993 1.2962499999999997-0.5212499999999984 1.7925000000000004-0.02499999999999858l3.49 3.487499999999997c2.4574999999999996 2.458750000000002 6.464999999999998 2.4937499999999986 8.909999999999998 0.022500000000000853 2.4125000000000014-2.4399999999999977 2.4087500000000013-6.375-0.01624999999999943-8.806249999999999-0.48999999999999844-0.49125000000000085-0.5-1.2837500000000013-0.007500000000000284-1.7749999999999986l0.16250000000000142-0.16250000000000142c4.8125 3.24625 11.399999999999999 2.740000000000002 15.658749999999998-1.5174999999999983l0.9724999999999966-0.9725000000000001c2.137500000000003-2.1374999999999993 2.4024999999999963-5.440000000000001 0.7950000000000017-7.866250000000001l1.875-1.875c0.9662500000000023-0.9649999999999999 0.9662500000000023-2.532499999999999 0-3.5z m-4.4375 11.4725c-1.4649999999999963 1.4649999999999999-3.8374999999999986 1.4649999999999999-5.303750000000001 0l-8.837499999999999-8.8375c-1.4662499999999987-1.4662500000000005-1.4662499999999987-3.84 0-5.305 1.1537499999999987-1.1550000000000002 2.875-1.4000000000000004 4.267499999999998-0.7324999999999999l-1.6337499999999991 1.6324999999999994c-0.9662499999999987 0.9675000000000002-0.9662499999999987 2.535000000000001 0 3.500000000000001l0.03500000000000014 0.037499999999999645c0.9662499999999987 0.9649999999999999 2.5337500000000013 0.9649999999999999 3.5 0l1.7850000000000001-1.7874999999999996 3.5349999999999966 3.5374999999999996-1.7850000000000001 1.7837499999999995c-0.9662499999999987 0.9662500000000005-0.9662499999999987 2.5337500000000013 0 3.5l0.03500000000000014 0.03500000000000014c0.9662499999999987 0.9662499999999987 2.5337499999999977 0.9662499999999987 3.5 0l1.6337499999999991-1.6337499999999991c0.6674999999999969 1.3937500000000007 0.42249999999999943 3.1125000000000007-0.7312500000000028 4.268750000000001z' }) ) ); } }]); return GoPlug; }(React.Component); exports.default = GoPlug;