UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.57 kB
'use strict'; 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 EventbriteIcon = function (_Component) { _inherits(EventbriteIcon, _Component); function EventbriteIcon(props) { _classCallCheck(this, EventbriteIcon); return _possibleConstructorReturn(this, (EventbriteIcon.__proto__ || Object.getPrototypeOf(EventbriteIcon)).call(this, props)); } _createClass(EventbriteIcon, [{ 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-eventbrite-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M22 6.23a3.19 3.19 0 0 0-2.14-3C18.91 2.92 5.34 2 4.89 2a3.15 3.15 0 0 0-2.15 1.19 3.06 3.06 0 0 0-.74 2v13.52a3.22 3.22 0 0 0 1.33 2.68 3.14 3.14 0 0 0 1.9.64c.48 0 12.79-1 13.6-1.06A3.38 3.38 0 0 0 21 20a2.94 2.94 0 0 0 1-2.16V6.23zm-4.39 1.25c-.046.146-.099.29-.16.43a.89.89 0 0 1-.91.59c-1.1 0-4.59 0-5.23-.05-.18 0-.25.05-.28.24-.13.69-.29 1.38-.45 2.11h3.88c.106-.012.214-.012.32 0 .58.13.74.31.69.9a2.48 2.48 0 0 1-.29.89.87.87 0 0 1-.79.41H10.3c-.13 0-.21 0-.24.16l-.47 2.28v.1h5.34a.83.83 0 0 1 .88.57 1.59 1.59 0 0 1-.81 1.74 1.921 1.921 0 0 1-.48.08c-.7 0-6.2.14-6.59.14A1.53 1.53 0 0 1 7 17.8a1 1 0 0 1-.37-1c.1-.66 1.66-8.28 1.94-9.47A1.475 1.475 0 0 1 10.19 6c1 0 5.82.1 6.56.14.74.04 1.1.5.86 1.34z' }) ); } }]); return EventbriteIcon; }(_react.Component); EventbriteIcon.defaultProps = { className: '' }; exports.default = EventbriteIcon;