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 TiCog = function (_React$Component) {
_inherits(TiCog, _React$Component);
function TiCog() {
_classCallCheck(this, TiCog);
return _possibleConstructorReturn(this, Object.getPrototypeOf(TiCog).apply(this, arguments));
}
_createClass(TiCog, [{
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: 'm15.645000000000001 29.246666666666666l0.6166666666666654 2.469999999999999c0.22333333333333272 0.8883333333333319 1.1550000000000011 1.6166666666666636 2.0716666666666654 1.6166666666666636h1.6666666666666679c0.9166666666666679 0 1.8500000000000014-0.7283333333333317 2.0700000000000003-1.6166666666666671l0.6166666666666671-2.469999999999999c0.22333333333333272-0.8883333333333319 1.1266666666666652-1.4100000000000001 2.0066666666666677-1.1566666666666663l2.4450000000000003 0.6999999999999993c0.8833333333333329 0.25 1.9800000000000004-0.19000000000000128 2.4366666666666674-0.9833333333333343l0.8333333333333321-1.4466666666666654c0.456666666666667-0.7950000000000017 0.2950000000000017-1.966666666666665-0.36666666666666714-2.6033333333333353l-1.8283333333333331-1.7666666666666657c-0.6600000000000001-0.6400000000000006-0.6600000000000001-1.6833333333333336 0-2.3166666666666664l1.8283333333333331-1.7699999999999996c0.6600000000000001-0.6366666666666667 0.8233333333333341-1.8066666666666684 0.36666666666666714-2.5999999999999996l-0.8333333333333321-1.4466666666666672c-0.46000000000000085-0.7949999999999999-1.5566666666666684-1.2366666666666664-2.4366666666666674-0.9833333333333325l-2.4450000000000003 0.6999999999999993c-0.8833333333333329 0.25-1.783333333333335-0.2699999999999996-2.0066666666666677-1.1583333333333332l-0.6166666666666671-2.466666666666667c-0.21999999999999886-0.8883333333333283-1.1533333333333324-1.6149999999999949-2.0700000000000003-1.6149999999999949h-1.6666666666666679c-0.9166666666666679 0-1.8500000000000014 0.7283333333333335-2.0700000000000003 1.6166666666666671l-0.6166666666666671 2.466666666666667c-0.22333333333333272 0.8883333333333336-1.125 1.4100000000000001-2.0066666666666677 1.1583333333333332l-2.4450000000000003-0.6999999999999993c-0.8833333333333329-0.25333333333333385-1.9800000000000004 0.1899999999999995-2.4366666666666674 0.9833333333333325l-0.833333333333333 1.4450000000000003c-0.456666666666667 0.7950000000000017-0.29499999999999993 1.966666666666665 0.36666666666666625 2.6033333333333317l1.8266666666666662 1.7666666666666657c0.6600000000000001 0.6366666666666667 0.6600000000000001 1.6783333333333346 0 2.3166666666666664l-1.8283333333333331 1.7666666666666657c-0.6583333333333332 0.6400000000000006-0.8233333333333333 1.8099999999999987-0.36666666666666714 2.6050000000000004l0.836666666666666 1.4450000000000003c0.456666666666667 0.7950000000000017 1.5549999999999997 1.2366666666666681 2.4366666666666674 0.9833333333333343l2.4450000000000003-0.6999999999999993c0.8800000000000008-0.25333333333333385 1.7833333333333332 0.2666666666666657 2.005000000000001 1.1566666666666663z m3.5216666666666665-11.746666666666666c1.8399999999999999 0 3.333333333333332 1.4916666666666671 3.333333333333332 3.333333333333332s-1.4933333333333323 3.333333333333332-3.333333333333332 3.333333333333332-3.333333333333334-1.4933333333333323-3.333333333333334-3.333333333333332c0-1.841666666666665 1.493333333333334-3.333333333333332 3.333333333333334-3.333333333333332z' })
)
);
}
}]);
return TiCog;
}(React.Component);
exports.default = TiCog;
;