react-icons
Version:
svg react icons of popular icon packs using ES6 imports
47 lines (34 loc) • 6.07 kB
JavaScript
;
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 FaShoppingBasket = function (_React$Component) {
_inherits(FaShoppingBasket, _React$Component);
function FaShoppingBasket() {
_classCallCheck(this, FaShoppingBasket);
return _possibleConstructorReturn(this, Object.getPrototypeOf(FaShoppingBasket).apply(this, arguments));
}
_createClass(FaShoppingBasket, [{
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: 'm37.5 17.5q1.0349999999999966 0 1.7674999999999983 0.7325000000000017t0.7325000000000017 1.7674999999999983-0.7325000000000017 1.7674999999999983-1.7674999999999983 0.7325000000000017h-0.2924999999999969l-2.2450000000000045 12.93q-0.15749999999999886 0.8999999999999986-0.8624999999999972 1.4849999999999994t-1.6000000000000014 0.5874999999999986h-25q-0.9000000000000004 0-1.5999999999999996-0.5874999999999986t-0.8624999999999998-1.4849999999999994l-2.243750000000001-12.93h-0.29374999999999973q-1.035 0-1.7674999999999998-0.7325000000000017t-0.7325000000000002-1.7674999999999983 0.7324999999999999-1.7674999999999983 1.7675-0.7325000000000017h35z m-28.0275 15.625q0.5075000000000003-0.03750000000000142 0.8499999999999996-0.4399999999999977t0.3025000000000002-0.9087500000000013l-0.625-8.125q-0.037499999999999645-0.5062500000000014-0.4399999999999995-0.8500000000000014t-0.9100000000000001-0.3012499999999996-0.8499999999999996 0.4375-0.2999999999999998 0.9100000000000001l0.6249999999999991 8.125q0.037499999999999645 0.4875000000000007 0.40000000000000036 0.8199999999999967t0.8499999999999996 0.3325000000000031h0.0962499999999995z m8.0275-1.25v-8.125q0-0.5075000000000003-0.37124999999999986-0.8787500000000001t-0.8787500000000001-0.37124999999999986-0.8787500000000001 0.37124999999999986-0.37124999999999986 0.8787500000000001v8.125q0 0.5075000000000003 0.37124999999999986 0.8787499999999966t0.8787500000000001 0.3712500000000034 0.8787500000000001-0.3712500000000034 0.37124999999999986-0.8787499999999966z m7.5 0v-8.125q0-0.5075000000000003-0.37124999999999986-0.8787500000000001t-0.8787500000000001-0.37124999999999986-0.8787500000000001 0.37124999999999986-0.37124999999999986 0.8787500000000001v8.125q0 0.5075000000000003 0.37124999999999986 0.8787499999999966t0.8787500000000001 0.3712500000000034 0.8787500000000001-0.3712500000000034 0.37124999999999986-0.8787499999999966z m6.875 0.09750000000000014l0.625-8.125q0.03750000000000142-0.5075000000000003-0.302500000000002-0.9087500000000013t-0.8500000000000014-0.4375-0.9087500000000013 0.3000000000000007-0.4375 0.8500000000000014l-0.625 8.125q-0.03999999999999915 0.5087500000000027 0.3000000000000007 0.9100000000000001t0.8500000000000014 0.4399999999999977h0.10000000000000142q0.4875000000000007 0 0.8500000000000014-0.3325000000000031t0.3999999999999986-0.8200000000000003z m-22.5775-23.77l-1.8162499999999993 8.0475h-2.5787500000000003l1.9725000000000001-8.6125q0.37124999999999986-1.7199999999999989 1.7375000000000007-2.803749999999999t3.125-1.0837500000000002h3.2624999999999993q0-0.5075000000000003 0.37124999999999986-0.8787500000000001t0.8787500000000001-0.37124999999999986h7.5q0.5075000000000003 0 0.8787500000000001 0.37124999999999986t0.37124999999999986 0.8787500000000001h3.2624999999999993q1.7562500000000014 0 3.125 1.0837500000000002t1.7375000000000007 2.80375l1.9724999999999966 8.6125h-2.5787499999999994l-1.8162500000000001-8.0475q-0.21499999999999986-0.8599999999999994-0.8874999999999993-1.40625t-1.5549999999999962-0.5462500000000006h-3.2600000000000016q0 0.5062499999999996-0.37124999999999986 0.8774999999999995t-0.8787500000000001 0.3725000000000005h-7.5q-0.5075000000000003 0-0.8787500000000001-0.3724999999999996t-0.37124999999999986-0.8775000000000004h-3.2624999999999993q-0.8774999999999995 0-1.5500000000000007 0.5462499999999997t-0.8900000000000006 1.4062500000000009z' })
)
);
}
}]);
return FaShoppingBasket;
}(React.Component);
exports.default = FaShoppingBasket;