react-icons
Version:
svg react icons of popular icon packs using ES6 imports
47 lines (34 loc) • 4.18 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 FaLaptop = function (_React$Component) {
_inherits(FaLaptop, _React$Component);
function FaLaptop() {
_classCallCheck(this, FaLaptop);
return _possibleConstructorReturn(this, Object.getPrototypeOf(FaLaptop).apply(this, arguments));
}
_createClass(FaLaptop, [{
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: 'm8.666666666666666 28q-1.373333333333333 0-2.3546666666666667-0.9786666666666655t-0.9786666666666664-2.3546666666666702v-14.666666666666666q0-1.373333333333333 0.9786666666666664-2.3546666666666667t2.3546666666666667-0.9786666666666655h22.666666666666664q1.3733333333333348 0 2.3546666666666667 0.9786666666666664t0.978666666666669 2.3546666666666676v14.666666666666664q0 1.3733333333333348-0.978666666666669 2.3546666666666667t-2.354666666666663 0.978666666666669h-22.666666666666664z m-0.6666666666666661-18v14.666666666666664q0 0.27066666666666706 0.19733333333333292 0.46933333333333493t0.46933333333333316 0.19733333333333292h22.666666666666664q0.27066666666666706 0 0.46933333333333493-0.19733333333333292t0.19733333333333647-0.46933333333333493v-14.666666666666666q0-0.27066666666666706-0.19733333333333292-0.46933333333333316t-0.46933333333333493-0.19733333333333292h-22.666666666666664q-0.27066666666666706 0-0.46933333333333316 0.19733333333333292t-0.1973333333333347 0.46933333333333493z m28.666666666666664 19.333333333333332h3.3333333333333357v2q0 0.8333333333333321-0.978666666666669 1.4160000000000004t-2.3546666666666667 0.5839999999999961h-33.33333333333333q-1.3733333333333333 0-2.3546666666666667-0.5840000000000032t-0.978666666666669-1.4159999999999933v-2h36.666666666666664z m-15 2q0.33333333333333215 0 0.33333333333333215-0.33333333333333215t-0.33333333333333215-0.33333333333333215h-3.333333333333332q-0.33333333333333215 0-0.33333333333333215 0.33333333333333215t0.33333333333333215 0.33333333333333215h3.333333333333332z' })
)
);
}
}]);
return FaLaptop;
}(React.Component);
exports.default = FaLaptop;