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 MeteorIcon = function (_Component) {
_inherits(MeteorIcon, _Component);
function MeteorIcon(props) {
_classCallCheck(this, MeteorIcon);
return _possibleConstructorReturn(this, (MeteorIcon.__proto__ || Object.getPrototypeOf(MeteorIcon)).call(this, props));
}
_createClass(MeteorIcon, [{
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-meteor-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M2.8 3.008l16.874 15.815s.317.443-.095.887c-.412.444-.952.063-.952.063L2.8 3.008zm5.011 1.585l13.1 12.043s.317.444-.095.887c-.412.444-.952.064-.952.064L7.811 4.593zm-3.52 3.391l13.1 12.043s.317.444-.096.887c-.412.444-.951.064-.951.064L4.29 7.984zm7.757-2.028l9.152 8.413s.222.31-.066.62c-.289.31-.665.045-.665.045l-8.42-9.078zm-6.597 5.958l9.152 8.414s.221.31-.067.62c-.288.31-.665.044-.665.044l-8.42-9.078zM16.375 7.92l4.179 3.815s.11.146-.033.29c-.143.146-.329.021-.329.021l-3.817-4.126zm-8.817 8.176l4.178 3.816s.11.145-.033.29c-.142.146-.329.021-.329.021l-3.816-4.127z' })
);
}
}]);
return MeteorIcon;
}(_react.Component);
MeteorIcon.defaultProps = {
className: ''
};
exports.default = MeteorIcon;