UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

39 lines (28 loc) 1.83 kB
'use strict'; exports.__esModule = 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; }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } 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('../IconBase'); var FaSquare = (function (_React$Component) { _inherits(FaSquare, _React$Component); function FaSquare() { _classCallCheck(this, FaSquare); _React$Component.apply(this, arguments); } FaSquare.prototype.render = function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 1536 1896.0833' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'm1536 416v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z' }) ) ); }; return FaSquare; })(React.Component); exports['default'] = FaSquare; module.exports = exports['default'];