UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 4.5 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 FaShareSquare = function (_React$Component) { _inherits(FaShareSquare, _React$Component); function FaShareSquare() { _classCallCheck(this, FaShareSquare); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaShareSquare).apply(this, arguments)); } _createClass(FaShareSquare, [{ 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.29 24.575714285714284l7.857142857142854-7.857142857142858q0.42428571428571615-0.4242857142857126 0.42428571428571615-1.0042857142857144t-0.42428571428571615-1.0042857142857144l-7.857142857142858-7.857142857142858q-0.6714285714285708-0.6914285714285713-1.5399999999999991-0.31428571428571406-0.8928571428571388 0.3828571428571452-0.8928571428571388 1.318571428571432v3.571428571428571q-2.6571428571428584 0-4.821428571428573 0.43571428571428505t-3.628571428571428 1.138571428571428-2.5428571428571427 1.7628571428571433-1.7071428571428573 2.1314285714285717-0.992857142857142 2.4328571428571415-0.4800000000000004 2.490000000000002-0.11285714285714299 2.4657142857142844q0 4.039999999999999 3.7285714285714295 9.017142857142858 0.22285714285714242 0.2671428571428578 0.5571428571428569 0.2671428571428578 0.15714285714285658 0 0.2914285714285718-0.06857142857143117 0.4914285714285711-0.20000000000000284 0.4242857142857144-0.7371428571428567-0.9814285714285713-7.899999999999999 1.3857142857142861-10.557142857142857 1.0285714285714285-1.1614285714285728 2.9000000000000004-1.6857142857142868t5-0.5257142857142867v3.571428571428573q0 0.937142857142856 0.894285714285715 1.3171428571428585 0.2671428571428578 0.1114285714285721 0.5357142857142847 0.1114285714285721 0.581428571428571 0 1.0057142857142871-0.4242857142857126z m11.852857142857147-15.289999999999997v21.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 FaShareSquare; }(React.Component); exports.default = FaShareSquare;