UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.13 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 FireIcon = function (_Component) { _inherits(FireIcon, _Component); function FireIcon(props) { _classCallCheck(this, FireIcon); return _possibleConstructorReturn(this, (FireIcon.__proto__ || Object.getPrototypeOf(FireIcon)).call(this, props)); } _createClass(FireIcon, [{ 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-fire-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M11.712 18.998c-1.781 0-3.224-1.405-3.224-3.138 0-1.623 1.045-2.763 2.813-3.12 1.767-.358 3.599-1.207 4.616-2.577.39 1.291.595 2.648.595 4.035 0 2.647-2.153 4.8-4.8 4.8zM13.5.668s.74 2.647.74 4.797c0 2.062-1.352 3.733-3.413 3.733-2.063 0-3.627-1.67-3.627-3.733l.027-.36A13.815 13.815 0 0 0 4 13.997a8 8 0 0 0 16 0c0-5.394-2.593-10.203-6.5-13.33z' }) ); } }]); return FireIcon; }(_react.Component); FireIcon.defaultProps = { className: '' }; exports.default = FireIcon;