UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 6.12 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 FaRedditSquare = function (_React$Component) { _inherits(FaRedditSquare, _React$Component); function FaRedditSquare() { _classCallCheck(this, FaRedditSquare); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaRedditSquare).apply(this, arguments)); } _createClass(FaRedditSquare, [{ 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: 'm23.81714285714286 25.200000000000003q0.28999999999999915 0.2914285714285718 0 0.581428571428571-1.1828571428571415 1.1828571428571415-3.8171428571428585 1.1828571428571415t-3.8171428571428585-1.1828571428571415q-0.28999999999999915-0.28999999999999915 0-0.5800000000000018 0.1114285714285721-0.13285714285714434 0.28999999999999915-0.13285714285714434t0.2914285714285718 0.13428571428571345q0.937142857142856 0.9385714285714286 3.2371428571428567 0.9385714285714286t3.2371428571428567-0.937142857142856q0.1114285714285721-0.13285714285714434 0.28999999999999915-0.13285714285714434t0.28857142857143003 0.13428571428571345z m-5.87142857142857-3.481428571428573q0 0.6914285714285704-0.5114285714285707 1.2057142857142864t-1.2057142857142864 0.5142857142857125-1.2057142857142864-0.5142857142857125-0.5142857142857142-1.2057142857142864q0-0.7142857142857153 0.5042857142857144-1.217142857142857t1.2142857142857135-0.5 1.2185714285714297 0.5 0.5028571428571418 1.2185714285714297z m7.545714285714286 0q0 0.6914285714285704-0.514285714285716 1.2057142857142864t-1.2042857142857137 0.5142857142857125-1.2042857142857137-0.5142857142857125-0.5142857142857125-1.2057142857142864q0-0.7142857142857153 0.5042857142857144-1.217142857142857t1.217142857142857-0.5 1.217142857142857 0.5 0.5028571428571418 1.2185714285714297z m4.800000000000001-2.3000000000000007q0-0.9357142857142868-0.6714285714285708-1.605714285714285t-1.62857142857143-0.6714285714285708q-0.9385714285714286 0-1.6314285714285717 0.6914285714285704-2.522857142857145-1.7428571428571438-5.960000000000001-1.8285714285714292l1.2057142857142864-5.425714285714285 3.8171428571428585 0.8714285714285719q0.022857142857141355 0.7142857142857135 0.524285714285714 1.2042857142857137t1.1942857142857157 0.4900000000000002q0.7142857142857153 0 1.2142857142857153-0.5028571428571436t0.5042857142857144-1.2142857142857135-0.5028571428571418-1.218571428571428-1.2142857142857153-0.5028571428571436q-1.071428571428573 0-1.5428571428571445 0.9600000000000009l-4.214285714285719-0.9371428571428595q-0.379999999999999-0.10999999999999943-0.46857142857142975 0.2914285714285718l-1.3399999999999999 5.982857142857142q-3.437142857142856 0.13428571428571345-5.914285714285715 1.8528571428571432-0.6714285714285708-0.7142857142857153-1.652857142857144-0.7142857142857153-0.9600000000000009 0-1.6285714285714281 0.668571428571429t-0.6714285714285708 1.6071428571428577q0 0.6714285714285708 0.35714285714285765 1.2285714285714278t0.9371428571428577 0.8471428571428561q-0.10999999999999943 0.5571428571428569-0.10999999999999943 1.071428571428573 0 2.722857142857144 2.678571428571429 4.654285714285717t6.451428571428574 1.9314285714285724q3.7942857142857136 0 6.4714285714285715-1.9314285714285724t2.6799999999999997-4.654285714285713q0-0.5571428571428569-0.13428571428571345-1.0942857142857143 0.5571428571428569-0.28999999999999915 0.904285714285713-0.8371428571428581t0.34285714285714164-1.217142857142857z m6.8514285714285705-10.132857142857143v21.42857142857143q0 2.6571428571428584-1.8857142857142861 4.5428571428571445t-4.5428571428571445 1.8857142857142861h-21.42857142857143q-2.6571428571428575 0-4.542857142857144-1.8857142857142861t-1.885714285714284-4.5428571428571445v-21.42857142857143q0-2.6571428571428575 1.8857142857142857-4.542857142857144t4.542857142857144-1.885714285714284h21.42857142857143q2.6571428571428584 0 4.5428571428571445 1.8857142857142857t1.8857142857142861 4.542857142857144z' }) ) ); } }]); return FaRedditSquare; }(React.Component); exports.default = FaRedditSquare;