react-icons
Version:
svg react icons of popular icon packs using ES6 imports
39 lines (28 loc) • 2.1 kB
JavaScript
;
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 FaPencilSquare = (function (_React$Component) {
_inherits(FaPencilSquare, _React$Component);
function FaPencilSquare() {
_classCallCheck(this, FaPencilSquare);
_React$Component.apply(this, arguments);
}
FaPencilSquare.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: 'm404 1108l152 152-52 52h-56v-96h-96v-56z m414-390q14 13-3 30l-291 291q-17 17-30 3-14-13 3-30l291-291q17-17 30-3z m-274 690l544-544-288-288-544 544v288h288z m608-608l92-92q28-28 28-68t-28-68l-152-152q-28-28-68-28t-68 28l-92 92z m384-384v960q0 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 FaPencilSquare;
})(React.Component);
exports['default'] = FaPencilSquare;
module.exports = exports['default'];