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 GoOcticonLink = (function (_React$Component) {
_inherits(GoOcticonLink, _React$Component);
function GoOcticonLink() {
_classCallCheck(this, GoOcticonLink);
_React$Component.apply(this, arguments);
}
GoOcticonLink.prototype.render = function render() {
return React.createElement(
IconBase,
_extends({ viewBox: '0 0 1024 1024.032' }, this.props),
React.createElement(
'g',
null,
React.createElement('path', { d: 'm256 576.001h64v64h-64c-96 0-192-108-192-224s99-224 192-224h256c93 0 192 108 192 224 0 90-58 174-128 208v-74c37-29 64-81 64-134 0-82-65-160-128-160h-256c-63 0-128 78-128 160s64 160 128 160z m576-192h-64v64h64c64 0 128 78 128 160s-65 160-128 160h-256c-63 0-128-78-128-160 0-53 27-105 64-134v-74c-70 34-128 118-128 208 0 116 99 224 192 224h256c93 0 192-108 192-224s-96-224-192-224z' })
)
);
};
return GoOcticonLink;
})(React.Component);
exports['default'] = GoOcticonLink;
module.exports = exports['default'];