UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 6.62 kB
'use strict'; 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 FaCog = function (_React$Component) { _inherits(FaCog, _React$Component); function FaCog() { _classCallCheck(this, FaCog); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaCog).apply(this, arguments)); } _createClass(FaCog, [{ 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: 'm25.714285714285715 20q0-2.3657142857142865-1.6742857142857126-4.039999999999999t-4.040000000000003-1.6742857142857144-4.039999999999999 1.6742857142857144-1.6742857142857144 4.039999999999999 1.6742857142857144 4.039999999999999 4.039999999999999 1.6742857142857162 4.039999999999999-1.6742857142857126 1.6742857142857162-4.040000000000003z m11.42857142857143-2.4328571428571415v4.957142857142859q0 0.2657142857142851-0.1785714285714306 0.5114285714285707t-0.4471428571428575 0.28999999999999915l-4.128571428571426 0.6257142857142846q-0.42571428571428527 1.2057142857142864-0.8714285714285701 2.0314285714285703 0.7814285714285738 1.1142857142857139 2.388571428571428 3.0799999999999983 0.2228571428571442 0.2671428571428578 0.2228571428571442 0.5571428571428569t-0.20000000000000284 0.5142857142857125q-0.6042857142857159 0.8257142857142838-2.21142857142857 2.4099999999999966t-2.1000000000000014 1.585714285714289q-0.2657142857142851 0-0.5785714285714292-0.20000000000000284l-3.081428571428571-2.41571428571428q-0.9814285714285731 0.5142857142857125-2.0285714285714285 0.8485714285714252-0.35714285714285765 3.0357142857142847-0.6485714285714295 4.151428571428575-0.15714285714285836 0.6257142857142881-0.8028571428571425 0.6257142857142881h-4.9571428571428555q-0.3114285714285714 0-0.5457142857142863-0.18999999999999773t-0.25714285714285623-0.4799999999999969l-0.6257142857142846-4.105714285714285q-1.0942857142857143-0.3571428571428541-2.008571428571429-0.8257142857142838l-3.1471428571428604 2.3899999999999935q-0.22285714285714242 0.20000000000000284-0.5571428571428569 0.20000000000000284-0.31428571428571495 0-0.5600000000000005-0.24285714285714022-2.814285714285715-2.5457142857142863-3.6828571428571433-3.7514285714285727-0.15714285714285747-0.2228571428571442-0.15714285714285747-0.514285714285716 0-0.2657142857142851 0.17999999999999972-0.5114285714285707 0.3357142857142854-0.46857142857142975 1.1399999999999997-1.485714285714284t1.2057142857142864-1.571428571428573q-0.6028571428571432-1.1171428571428557-0.9142857142857146-2.2114285714285735l-4.085714285714285-0.6028571428571432q-0.29000000000000004-0.04285714285714448-0.4685714285714284-0.27857142857142847t-0.17857142857142883-0.5228571428571449v-4.957142857142859q0-0.2657142857142851 0.17714285714285705-0.5114285714285707t0.4242857142857144-0.28999999999999915l4.152857142857144-0.6257142857142846q0.31428571428571406-1.0285714285714285 0.8714285714285719-2.0528571428571425-0.8942857142857141-1.2714285714285722-2.3900000000000006-3.08-0.22285714285714242-0.2671428571428578-0.22285714285714242-0.5357142857142865 0-0.22285714285714242 0.20000000000000018-0.5142857142857142 0.5814285714285718-0.8000000000000007 2.2-2.4000000000000004t2.110000000000001-1.5942857142857143q0.28999999999999915 0 0.5800000000000001 0.2242857142857142l3.0799999999999965 2.387142857142856q0.9828571428571422-0.5142857142857142 2.0314285714285703-0.8499999999999996 0.3571428571428612-3.0357142857142856 0.6428571428571459-4.15 0.16000000000000014-0.6285714285714286 0.8057142857142843-0.6285714285714286h4.957142857142859q0.3114285714285714 0 0.5457142857142863 0.18999999999999995t0.25714285714285623 0.48l0.6257142857142846 4.1085714285714285q1.0942857142857143 0.35714285714285676 2.008571428571429 0.8257142857142856l3.171428571428571-2.388571428571428q0.1999999999999993-0.20000000000000018 0.5342857142857156-0.20000000000000018 0.28999999999999915 0 0.5571428571428569 0.22142857142857153 2.881428571428568 2.6571428571428575 3.685714285714287 3.7942857142857145 0.15428571428571303 0.17857142857142883 0.15428571428571303 0.4914285714285711 0 0.2671428571428578-0.1785714285714306 0.5142857142857142-0.33428571428571274 0.4671428571428571-1.1385714285714315 1.4828571428571422t-1.2057142857142864 1.5742857142857147q0.5799999999999983 1.1142857142857139 0.914285714285711 2.185714285714287l4.085714285714289 0.6285714285714299q0.28999999999999915 0.04285714285714448 0.46857142857142975 0.2771428571428558t0.18000000000000682 0.5285714285714285z' }) ) ); } }]); return FaCog; }(React.Component); exports.default = FaCog;