react-icons
Version:
svg react icons of popular icon packs using ES6 imports
47 lines (34 loc) • 7.64 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 FaCalculator = function (_React$Component) {
_inherits(FaCalculator, _React$Component);
function FaCalculator() {
_classCallCheck(this, FaCalculator);
return _possibleConstructorReturn(this, Object.getPrototypeOf(FaCalculator).apply(this, arguments));
}
_createClass(FaCalculator, [{
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: 'm10 34.285714285714285q0-1.182857142857145-0.8371428571428563-2.020000000000003t-2.0200000000000005-0.837142857142851-2.0200000000000005 0.8371428571428581-0.8371428571428572 2.019999999999996 0.8371428571428572 2.020000000000003 2.0200000000000005 0.8371428571428581 2.0200000000000005-0.8371428571428581 0.8371428571428563-2.020000000000003z m8.57142857142857 0q0-1.182857142857145-0.8371428571428581-2.020000000000003t-2.019999999999996-0.837142857142851-2.0199999999999996 0.8371428571428581-0.8371428571428581 2.019999999999996 0.8371428571428563 2.020000000000003 2.0200000000000014 0.8371428571428581 2.0199999999999996-0.8371428571428581 0.8371428571428581-2.020000000000003z m-8.571428571428571-8.57142857142857q0-1.1828571428571415-0.8371428571428563-2.0199999999999996t-2.0199999999999987-0.8371428571428581-2.0200000000000005 0.8371428571428581-0.8371428571428572 2.0199999999999996 0.8371428571428572 2.0199999999999996 2.0200000000000005 0.8371428571428581 2.0200000000000005-0.8371428571428581 0.8371428571428563-2.0199999999999996z m17.14285714285714 8.57142857142857q0-1.182857142857145-0.8371428571428581-2.020000000000003t-2.019999999999996-0.837142857142851-2.0199999999999996 0.8371428571428581-0.8371428571428545 2.019999999999996 0.8371428571428581 2.020000000000003 2.019999999999996 0.8371428571428581 2.0199999999999996-0.8371428571428581 0.8371428571428581-2.020000000000003z m-8.57142857142857-8.57142857142857q0-1.1828571428571415-0.8371428571428581-2.0199999999999996t-2.019999999999996-0.8371428571428581-2.0199999999999996 0.8371428571428581-0.8371428571428581 2.0199999999999996 0.8371428571428563 2.0199999999999996 2.0200000000000014 0.8371428571428581 2.0199999999999996-0.8371428571428581 0.8371428571428581-2.0199999999999996z m-8.571428571428571-8.57142857142857q0-1.1828571428571433-0.8371428571428563-2.0199999999999996t-2.0199999999999987-0.8371428571428599-2.0200000000000005 0.8371428571428563-0.8371428571428572 2.0199999999999996 0.8371428571428572 2.0199999999999996 2.0200000000000005 0.8371428571428581 2.0200000000000005-0.8371428571428581 0.8371428571428563-2.0199999999999996z m17.14285714285714 8.57142857142857q0-1.1828571428571415-0.8371428571428581-2.0199999999999996t-2.019999999999996-0.8371428571428581-2.0199999999999996 0.8371428571428581-0.8371428571428545 2.0199999999999996 0.8371428571428581 2.0199999999999996 2.019999999999996 0.8371428571428581 2.0199999999999996-0.8371428571428581 0.8371428571428581-2.0199999999999996z m-8.57142857142857-8.57142857142857q0-1.1828571428571433-0.8371428571428581-2.0199999999999996t-2.019999999999996-0.8371428571428599-2.0199999999999996 0.8371428571428563-0.8371428571428581 2.0199999999999996 0.8371428571428563 2.0199999999999996 2.0200000000000014 0.8371428571428581 2.0199999999999996-0.8371428571428581 0.8371428571428581-2.0199999999999996z m17.14285714285714 17.142857142857146v-8.57142857142857q0-1.1600000000000001-0.8485714285714252-2.008571428571429t-2.008571428571422-0.8485714285714359-2.008571428571429 0.8485714285714288-0.8485714285714323 2.008571428571429v8.57142857142857q0 1.1600000000000037 0.8485714285714288 2.008571428571429t2.0085714285714324 0.8485714285714323 2.008571428571429-0.8485714285714252 0.8485714285714252-2.008571428571436z m-8.57142857142857-17.142857142857142q0-1.1828571428571433-0.8371428571428581-2.0199999999999996t-2.019999999999996-0.8371428571428634-2.0199999999999996 0.8371428571428563-0.8371428571428545 2.0199999999999996 0.8371428571428581 2.0199999999999996 2.019999999999996 0.8371428571428581 2.0199999999999996-0.8371428571428581 0.8371428571428581-2.0199999999999996z m8.57142857142857-7.142857142857142v-5.7142857142857215q0-0.5800000000000001-0.42428571428571615-1.0042857142857144t-1.0042857142857073-0.42428571428571393h-28.57142857142857q-0.580000000000001 0-1.0042857142857153 0.4242857142857144t-0.4242857142857144 1.004285714285714v5.714285714285714q0 0.5800000000000001 0.4242857142857144 1.0042857142857144t1.0042857142857144 0.4242857142857144h28.57142857142857q0.5799999999999983 0 1.0042857142857144-0.4242857142857144t0.42428571428571615-1.0042857142857144z m0 7.142857142857142q0-1.1828571428571433-0.8371428571428581-2.0199999999999996t-2.019999999999989-0.8371428571428634-2.0199999999999996 0.8371428571428563-0.8371428571428616 2.0199999999999996 0.8371428571428581 2.0199999999999996 2.020000000000003 0.8371428571428581 2.020000000000003-0.8371428571428581 0.837142857142851-2.0199999999999996z m2.857142857142854-14.285714285714286v34.285714285714285q0 1.1600000000000037-0.8485714285714252 2.008571428571429t-2.008571428571422 0.8485714285714252h-31.42857142857143q-1.1599999999999993 0-2.0085714285714276-0.8485714285714252t-0.8485714285714285-2.008571428571429v-34.28571428571429q0-1.159999999999997 0.8485714285714285-2.0085714285714253t2.0085714285714285-0.8485714285714288h31.42857142857143q1.1600000000000037 0 2.008571428571429 0.8485714285714285t0.8485714285714252 2.008571428571429z' })
)
);
}
}]);
return FaCalculator;
}(React.Component);
exports.default = FaCalculator;