react-icons
Version:
svg react icons of popular icon packs using ES6 imports
47 lines (34 loc) • 5.63 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 TiLightbulb = function (_React$Component) {
_inherits(TiLightbulb, _React$Component);
function TiLightbulb() {
_classCallCheck(this, TiLightbulb);
return _possibleConstructorReturn(this, Object.getPrototypeOf(TiLightbulb).apply(this, arguments));
}
_createClass(TiLightbulb, [{
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: 'm20.833333333333336 9.166666666666668c-0.46000000000000085 0-0.8333333333333321 0.3733333333333331-0.8333333333333321 0.8333333333333339s0.37333333333333485 0.8333333333333339 0.8333333333333321 0.8333333333333339c1.8049999999999997 0 3.2733333333333334 1.4666666666666668 3.2733333333333334 3.2733333333333334 0 0.46000000000000085 0.37333333333333485 0.8333333333333339 0.8333333333333321 0.8333333333333339s0.8333333333333321-0.3733333333333331 0.8333333333333321-0.8333333333333339c0-2.7233333333333327-2.2166666666666686-4.940000000000001-4.940000000000001-4.940000000000001z m0-7.500000000000001c-6.893333333333334-2.220446049250313e-16-12.500000000000002 5.6066666666666665-12.500000000000002 12.5 0 2.4766666666666666 0.7333333333333325 4.870000000000001 2.123333333333333 6.941666666666666 0.038333333333333997 0.07833333333333314 0.08333333333333393 0.15333333333333243 0.13333333333333286 0.22500000000000142 3.043333333333333 4.343333333333334 3.576666666666668 5.716666666666665 3.576666666666668 7v5c0 0.9200000000000017 0.7466666666666661 1.6666666666666643 1.666666666666666 1.6666666666666643h3.333333333333334c0 0.43333333333333 0.18333333333333357 0.8666666666666671 0.4833333333333343 1.18333333333333 0.31666666666666643 0.29999999999999716 0.75 0.4833333333333343 1.1833333333333336 0.4833333333333343s0.8666666666666671-0.18333333333333002 1.1833333333333336-0.4833333333333343c0.3000000000000007-0.31666666666667 0.4833333333333343-0.75 0.4833333333333343-1.18333333333333h3.333333333333332c0.9200000000000017 0 1.6666666666666679-0.7466666666666697 1.6666666666666679-1.6666666666666643v-5c0-1.3033333333333346 0.533333333333335-2.6833333333333336 3.5533333333333346-7 1.4916666666666636-2.1216666666666697 2.2799999999999976-4.600000000000001 2.2799999999999976-7.166666666666668 0-6.893333333333334-5.606666666666669-12.500000000000002-12.5-12.500000000000002z m3.333333333333332 30h-6.666666666666668v-1.6666666666666679h6.666666666666668v1.6666666666666679z m4.158333333333335-12.245000000000001c-2.443333333333335 3.4883333333333333-3.5716666666666654 5.483333333333334-3.9750000000000014 7.245000000000001h-1.8500000000000014v-3.333333333333332c0-0.9200000000000017-0.7466666666666661-1.6666666666666679-1.6666666666666679-1.6666666666666679s-1.6666666666666679 0.7466666666666661-1.6666666666666679 1.6666666666666679v3.333333333333332h-1.8550000000000004c-0.3999999999999986-1.716666666666665-1.4966666666666661-3.666666666666668-3.8433333333333337-7.033333333333335-0.033333333333333215-0.07333333333333414-0.07833333333333314-0.14499999999999957-0.12666666666666693-0.216666666666665-1.0966666666666622-1.5533333333333346-1.6749999999999954-3.370000000000001-1.6749999999999954-5.25 0-5.0550000000000015 4.111666666666666-9.166666666666668 9.166666666666668-9.166666666666668s9.166666666666664 4.111666666666666 9.166666666666664 9.166666666666668c0 1.8766666666666652-0.5783333333333331 3.693333333333335-1.6750000000000007 5.254999999999999z' })
)
);
}
}]);
return TiLightbulb;
}(React.Component);
exports.default = TiLightbulb;
;