UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 8.08 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 FaGithubSquare = function (_React$Component) { _inherits(FaGithubSquare, _React$Component); function FaGithubSquare() { _classCallCheck(this, FaGithubSquare); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaGithubSquare).apply(this, arguments)); } _createClass(FaGithubSquare, [{ 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: 'm11.65142857142857 30.17857142857143q-0.17857142857142883 0.1999999999999993-0.4471428571428575-0.0671428571428585-0.2900000000000009-0.24571428571428555-0.08999999999999986-0.4242857142857126 0.17857142857142883-0.1999999999999993 0.4471428571428575 0.06857142857142762 0.2671428571428578 0.24571428571428555 0.08999999999999986 0.4242857142857126z m-0.9371428571428577-1.361428571428572q0.1999999999999993 0.2671428571428578 0 0.4242857142857126-0.17857142857142883 0.13285714285714434-0.3800000000000008-0.15714285714285836t0-0.3999999999999986q0.1999999999999993-0.15714285714285836 0.3800000000000008 0.13285714285714434z m-1.361428571428572-1.3399999999999999q-0.1114285714285721 0.15714285714285836-0.28999999999999915 0.04285714285714448-0.22285714285714242-0.10999999999999943-0.15714285714285658-0.2657142857142851 0.0685714285714294-0.1114285714285721 0.2914285714285718-0.04285714285714448 0.22285714285714242 0.10999999999999943 0.15714285714285658 0.2657142857142851z m0.6914285714285722 0.7600000000000016q-0.13285714285714256 0.15714285714285836-0.35714285714285765-0.0671428571428585-0.1999999999999993-0.24714285714285822-0.042857142857142705-0.35714285714285765 0.13428571428571345-0.13571428571428612 0.35714285714285765 0.06571428571428584 0.1999999999999993 0.24571428571428555 0.042857142857142705 0.35714285714285765z m2.8814285714285717 2.5q-0.08999999999999986 0.2671428571428578-0.4242857142857144 0.13428571428571345-0.3800000000000008-0.08999999999999986-0.28999999999999915-0.33428571428571274t0.4242857142857144-0.15714285714285836q0.35714285714285765 0.11428571428571388 0.2900000000000009 0.35714285714285765z m1.4057142857142857 0.1114285714285721q0 0.24571428571428555-0.35714285714285765 0.24571428571428555-0.3785714285714281 0.04285714285714448-0.3785714285714281-0.24571428571428555 0-0.24571428571428555 0.35714285714285765-0.24571428571428555 0.3800000000000008-0.04285714285714448 0.3800000000000008 0.24571428571428555z m1.2957142857142863-0.2228571428571442q0.042857142857142705 0.2228571428571442-0.31428571428571495 0.31428571428571317t-0.40000000000000036-0.17999999999999972 0.31428571428571495-0.33428571428571274q0.35714285714285765-0.04285714285714448 0.40000000000000036 0.1999999999999993z m21.51571428571429-21.340000000000003v21.42857142857143q0 2.6571428571428584-1.8857142857142861 4.5428571428571445t-4.5428571428571445 1.8857142857142861h-5q-0.35714285714285765 0-0.5471428571428589-0.022857142857141355t-0.43571428571428683-0.11142857142856855-0.35714285714285765-0.32428571428571473-0.1114285714285721-0.6142857142857139v-5.335714285714285q0-2.1657142857142873-1.1600000000000001-3.171428571428571 1.2714285714285722-0.13285714285714434 2.28857142857143-0.3999999999999986t2.1000000000000014-0.8714285714285701 1.807142857142857-1.4828571428571422 1.1814285714285724-2.3428571428571416 0.4571428571428555-3.361428571428572q0-2.6999999999999993-1.7628571428571433-4.600000000000001 0.8257142857142874-2.0285714285714285-0.17857142857142705-4.551428571428572-0.6257142857142846-0.1999999999999993-1.8085714285714296 0.24571428571428555t-2.0528571428571425 0.9828571428571422l-0.8485714285714288 0.5371428571428467q-2.0742857142857147-0.5800000000000001-4.285714285714285-0.5800000000000001t-4.285714285714285 0.5800000000000001q-0.35714285714285765-0.24571428571428555-0.9471428571428575-0.6028571428571432t-1.8642857142857139-0.8571428571428577-1.92-0.3028571428571425q-0.982857142857144 2.5214285714285722-0.15714285714285836 4.551428571428572-1.7614285714285725 1.8971428571428568-1.7614285714285725 4.600000000000001 0 1.8957142857142841 0.4571428571428573 3.347142857142856t1.1714285714285708 2.3428571428571416 1.7971428571428572 1.4971428571428582 2.0999999999999996 0.8714285714285701 2.2857142857142865 0.3999999999999986q-0.8914285714285715 0.8028571428571425-1.0928571428571434 2.3000000000000007-0.468571428571428 0.22142857142857153-1.0042857142857144 0.33285714285714363t-1.2714285714285722 0.10999999999999943-1.4628571428571426-0.4800000000000004-1.2371428571428567-1.394285714285715q-0.4242857142857144-0.7142857142857153-1.0828571428571436-1.1600000000000001t-1.104285714285714-0.5357142857142847l-0.4471428571428575-0.0671428571428585q-0.46857142857142886 0-0.6471428571428568 0.10000000000000142t-0.11142857142857121 0.25714285714285623 0.20000000000000018 0.31428571428571317 0.29000000000000004 0.2657142857142851l0.15714285714285747 0.1114285714285721q0.4900000000000002 0.2228571428571442 0.9714285714285715 0.8485714285714288t0.6999999999999993 1.138571428571428l0.2242857142857151 0.514285714285716q0.28999999999999915 0.8471428571428561 0.9828571428571422 1.37142857142857t1.4957142857142856 0.6714285714285744 1.5514285714285716 0.15428571428571303 1.2400000000000002-0.07857142857142918l0.5142857142857142-0.09000000000000341q0 0.8485714285714252 0.009999999999999787 2.299999999999997t0.011428571428570677 1.5142857142857125q0 0.4928571428571402-0.24571428571428555 0.7485714285714309t-0.4900000000000002 0.28857142857143003-0.7371428571428567 0.032857142857139365h-5.004285714285711q-2.654285714285715 0-4.542857142857144-1.8857142857142861t-1.8857142857142857-4.541428571428558v-21.42857142857143q0-2.6571428571428575 1.8857142857142857-4.542857142857144t4.542857142857144-1.8857142857142861h21.42857142857143q2.6571428571428584 0 4.5428571428571445 1.8857142857142861t1.8857142857142861 4.542857142857144z' }) ) ); } }]); return FaGithubSquare; }(React.Component); exports.default = FaGithubSquare;