react-icons
Version:
svg react icons of popular icon packs using ES6 imports
47 lines (34 loc) • 5.6 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 TiPrinter = function (_React$Component) {
_inherits(TiPrinter, _React$Component);
function TiPrinter() {
_classCallCheck(this, TiPrinter);
return _possibleConstructorReturn(this, Object.getPrototypeOf(TiPrinter).apply(this, arguments));
}
_createClass(TiPrinter, [{
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: 'm28.333333333333336 8.333333333333334v-3.333333333333334c0-0.9199999999999999-0.7466666666666661-1.666666666666667-1.6666666666666679-1.666666666666667h-15c-0.9199999999999999 0-1.666666666666666 0.746666666666667-1.666666666666666 1.666666666666667v3.333333333333334c-2.7566666666666677 0-5.000000000000002 2.243333333333334-5.000000000000002 5v16.666666666666664c0 2.7566666666666677 2.243333333333334 5 5 5h18.333333333333336c2.7566666666666677 0 5-2.2433333333333323 5-5v-16.666666666666664c0-2.7566666666666677-2.2433333333333323-5.000000000000002-5-5.000000000000002z m-15.000000000000002-1.666666666666667h11.666666666666666v8.333333333333332h-11.666666666666666v-8.333333333333332z m-3.333333333333334 5.000000000000001v5c0 0.9200000000000017 0.7466666666666661 1.6666666666666679 1.666666666666666 1.6666666666666679h14.999999999999998c0.9200000000000017 0 1.6666666666666679-0.7466666666666661 1.6666666666666679-1.6666666666666679v-5c0.9166666666666679 0 1.6666666666666679 0.75 1.6666666666666679 1.666666666666666v4.166666666666666c0 1.3783333333333339-1.1216666666666661 2.5-2.5 2.5h-16.666666666666668c-1.3783333333333339 0-2.5-1.1216666666666661-2.5-2.5v-4.166666666666666c0-0.9166666666666661 0.75-1.666666666666666 1.666666666666666-1.666666666666666z m18.333333333333336 20h-18.333333333333336c-0.9166666666666661 0-1.666666666666666-0.75-1.666666666666666-1.6666666666666679v-9.188333333333333c0.6999999999999993 0.5300000000000011 1.5583333333333336 0.8550000000000004 2.5 0.8550000000000004h16.666666666666664c0.9416666666666664 0 1.8000000000000007-0.3249999999999993 2.5-0.8550000000000004v9.188333333333333c0 0.9166666666666679-0.75 1.6666666666666679-1.6666666666666679 1.6666666666666679z m-5.833333333333336-20h-6.666666666666668c-0.46000000000000085 0-0.8333333333333339 0.3733333333333331-0.8333333333333339 0.8333333333333339s0.3733333333333331 0.8333333333333339 0.8333333333333339 0.8333333333333339h6.666666666666668c0.46000000000000085 0 0.8333333333333321-0.3733333333333331 0.8333333333333321-0.8333333333333339s-0.37333333333333485-0.8333333333333339-0.8333333333333321-0.8333333333333339z m2.5 15h-11.666666666666666c-0.46000000000000085 0-0.8333333333333339 0.37333333333333485-0.8333333333333339 0.8333333333333321s0.3733333333333331 0.8333333333333321 0.8333333333333339 0.8333333333333321h11.666666666666666c0.46000000000000085 0 0.8333333333333321-0.37333333333333485 0.8333333333333321-0.8333333333333321s-0.37333333333333485-0.8333333333333321-0.8333333333333321-0.8333333333333321z m-2.5-18.333333333333336h-6.666666666666668c-0.46000000000000085 1.7763568394002505e-15-0.8333333333333339 0.37333333333333485-0.8333333333333339 0.8333333333333357s0.3733333333333331 0.8333333333333339 0.8333333333333339 0.8333333333333339h6.666666666666668c0.46000000000000085 0 0.8333333333333321-0.3733333333333331 0.8333333333333321-0.8333333333333339s-0.37333333333333485-0.8333333333333339-0.8333333333333321-0.8333333333333339z' })
)
);
}
}]);
return TiPrinter;
}(React.Component);
exports.default = TiPrinter;
;