react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.38 kB
JavaScript
;
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; }; }();
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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 HopsIcon = function (_Component) {
_inherits(HopsIcon, _Component);
function HopsIcon(props) {
_classCallCheck(this, HopsIcon);
return _possibleConstructorReturn(this, (HopsIcon.__proto__ || Object.getPrototypeOf(HopsIcon)).call(this, props));
}
_createClass(HopsIcon, [{
key: 'render',
value: function render() {
return _react2.default.createElement(
'svg',
_extends({ xmlns: 'http://www.w3.org/2000/svg', width: '24', height: '24', baseProfile: 'full', viewBox: '0 0 24.00 24.00' }, this.props, { className: 'material material-hops-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M21 12s-8.5-2-8.5-10c0 0 8.5 0 8.5 10zM3 12C3 2 11.5 2 11.5 2c0 8-8.5 10-8.5 10zm9-5.5s.995 2.156 2.985 3.985C14.758 14.162 12 16 12 16s-2.758-1.838-2.985-5.515C11.005 8.655 12 6.5 12 6.5zm8.75 6.75S20 17 18 19c0 0-2.466-1.644-3.672-4.187.721-1.235 1.175-2.696 1.425-3.682C17.125 12.184 18.75 13 20.75 13.25zm-5.25 5c-1 2-3.5 3.5-3.5 3.5s-2.5-1.5-3.5-3.5c0 0 1.094-.911 1.853-2.455.465.557 1.011.993 1.647 1.205.636-.212 1.182-.648 1.647-1.205.76 1.544 1.853 2.455 1.853 2.455zm-12.25-5c2-.25 3.625-1.066 4.997-2.12.25.987.704 2.448 1.425 3.683C8.466 17.356 6 19 6 19c-2-2-2.75-5.75-2.75-5.75z' })
);
}
}]);
return HopsIcon;
}(_react.Component);
HopsIcon.defaultProps = {
className: ''
};
exports.default = HopsIcon;