react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.79 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 UntappdIcon = function (_Component) {
_inherits(UntappdIcon, _Component);
function UntappdIcon(props) {
_classCallCheck(this, UntappdIcon);
return _possibleConstructorReturn(this, (UntappdIcon.__proto__ || Object.getPrototypeOf(UntappdIcon)).call(this, props));
}
_createClass(UntappdIcon, [{
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-untappd-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M14.413 4.004s.524.383.552.704c.01.107-.23.143-.286.223-.056.08.02.22-.033.275-.051.055-.158.058-.237.205-.078.149-2.343 4.682-2.674 5.221-.143.4-.26 1.831-.369 2.026-.109.196-5.026 7.184-5.207 7.395-.49.573-1.846.25-2.877-.491-.98-.705-1.542-1.859-1.17-2.4.157-.23 5.035-7.244 5.181-7.413.147-.169 1.454-.766 1.78-1.036.394-.495 3.887-4.168 4-4.292.112-.124.078-.225.112-.293.034-.068.191-.045.248-.124.056-.079-.045-.293.056-.326.101-.034.474-.012.924.326zm-3.566.436l.89.93-1.474 1.567-.8-1.566c-.08-.148-.187-.15-.24-.204-.052-.055.022-.197-.034-.276-.056-.08-.292-.056-.29-.163.002-.107.149-.451.619-.763 0 0 .538-.367.85-.286.104.027.058.266.115.345.057.079.215.055.25.122.034.068 0 .17.114.294zm11.07 12.71c.377.655-.383 1.828-1.43 2.554-.995.69-2.274.833-2.661.3-.164-.226-5.156-7.189-5.267-7.384-.11-.195-.236-1.63-.382-2.03l-.027-.044c.301-.555.925-1.779 1.582-3.08a37.898 37.898 0 0 1 1.152 1.253c.329.27 1.643.86 1.791 1.029.148.168 5.103 7.16 5.242 7.401z' })
);
}
}]);
return UntappdIcon;
}(_react.Component);
UntappdIcon.defaultProps = {
className: ''
};
exports.default = UntappdIcon;