react-icons
Version:
svg react icons of popular icon packs using ES6 imports
39 lines (28 loc) • 2 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 GoOcticonKey = (function (_React$Component) {
_inherits(GoOcticonKey, _React$Component);
function GoOcticonKey() {
_classCallCheck(this, GoOcticonKey);
_React$Component.apply(this, arguments);
}
GoOcticonKey.prototype.render = function render() {
return React.createElement(
IconBase,
_extends({ viewBox: '0 0 896 1024.032' }, this.props),
React.createElement(
'g',
null,
React.createElement('path', { d: 'm821 139.001c-48-48-108-73-181-75-72 2-133 27-181 75s-72 108-74 181c0 19 2 38 6 57l-391 391v64l64 64h128l64-64v-64h64v-64h64v-64h128l70-71c19 5 38 7 58 7 73-2 133-27 181-75s73-108 75-181c-2-73-27-133-75-181z m-117 204.99999999999997c-49 0-88-39-88-88s39-88 88-88 88 39 88 88-39 88-88 88z' })
)
);
};
return GoOcticonKey;
})(React.Component);
exports['default'] = GoOcticonKey;
module.exports = exports['default'];