UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 5.82 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 FaThumbsUp = function (_React$Component) { _inherits(FaThumbsUp, _React$Component); function FaThumbsUp() { _classCallCheck(this, FaThumbsUp); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaThumbsUp).apply(this, arguments)); } _createClass(FaThumbsUp, [{ 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: 'm7.857142857142858 30q0-0.5799999999999983-0.4242857142857144-1.0042857142857144t-1.0042857142857144-0.4242857142857126q-0.6028571428571432 0-1.0142857142857142 0.4242857142857126t-0.4142857142857146 1.0042857142857144q0 0.6028571428571432 0.4142857142857146 1.0142857142857125t1.0142857142857142 0.41428571428571814q0.5800000000000001 0 1.0042857142857144-0.4142857142857146t0.4242857142857144-1.014285714285716z m3.571428571428571-11.42857142857143v14.285714285714285q0 0.5799999999999983-0.4242857142857144 1.0042857142857144t-1.0042857142857144 0.42428571428571615h-6.428571428571429q-0.5799999999999996 0-1.0042857142857136-0.42428571428571615t-0.4242857142857148-1.0042857142857073v-14.285714285714288q0-0.5800000000000018 0.4242857142857144-1.0042857142857144t1.0042857142857144-0.42428571428571615h6.428571428571429q0.5800000000000001 0 1.0042857142857144 0.4242857142857126t0.4242857142857144 1.004285714285718z m26.42857142857143 3.552713678800501e-15q0 1.9200000000000017-1.2285714285714278 3.3257142857142874 0.33571428571428896 0.9828571428571422 0.33571428571428896 1.6971428571428575 0.06714285714285495 1.6971428571428575-0.9600000000000009 3.057142857142857 0.38000000000000256 1.2514285714285727 0 2.614285714285714-0.33428571428571274 1.2714285714285722-1.2057142857142864 2.097142857142856 0.20000000000000284 2.5-1.095714285714287 4.039999999999999-1.4285714285714306 1.6971428571428575-4.397142857142857 1.7428571428571402h-2.8771428571428608q-1.4742857142857133 0-3.2142857142857153-0.3471428571428561t-2.7142857142857153-0.6485714285714295-2.6885714285714286-0.8814285714285717q-2.7457142857142856-0.96142857142857-3.5285714285714285-0.9857142857142875-0.5785714285714292-0.02142857142857224-1.0028571428571436-0.43428571428571416t-0.4228571428571417-0.991428571428564v-14.305714285714288q0-0.5571428571428569 0.40000000000000036-0.9714285714285715t0.9600000000000009-0.4571428571428555q0.5357142857142865-0.04285714285714448 1.6971428571428575-1.3171428571428567t2.2542857142857162-2.6999999999999993q1.5171428571428578-1.942857142857143 2.2542857142857144-2.6799999999999997 0.3999999999999986-0.40000000000000036 0.6914285714285704-1.0714285714285712t0.39000000000000057-1.0828571428571436 0.3000000000000007-1.3514285714285714q0.15714285714285836-0.871428571428571 0.28000000000000114-1.3614285714285712t0.43428571428571416-1.1571428571428575 0.7571428571428562-1.1171428571428574q0.4285714285714235-0.42714285714286104 1.0099999999999945-0.42714285714286104 1.0285714285714285 0 1.8428571428571416 0.23571428571428577t1.3385714285714272 0.5800000000000001 0.8928571428571423 0.9057142857142861 0.5357142857142847 1.0042857142857144 0.2671428571428578 1.1142857142857139 0.1114285714285721 1.0057142857142853 0.011428571428570677 0.8714285714285719q0 0.8485714285714288-0.21142857142856997 1.6971428571428575t-0.4242857142857126 1.3399999999999999-0.6142857142857139 1.25q-0.0671428571428585 0.13571428571428612-0.2228571428571442 0.40285714285714214t-0.24571428571428555 0.4914285714285711-0.17857142857142705 0.5357142857142865h6.1828571428571415q1.7428571428571402 0 3.0142857142857125 1.274285714285714t1.2714285714285722 3.0142857142857125z' }) ) ); } }]); return FaThumbsUp; }(React.Component); exports.default = FaThumbsUp;