react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.55 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 AirConditionerIcon = function (_Component) {
_inherits(AirConditionerIcon, _Component);
function AirConditionerIcon(props) {
_classCallCheck(this, AirConditionerIcon);
return _possibleConstructorReturn(this, (AirConditionerIcon.__proto__ || Object.getPrototypeOf(AirConditionerIcon)).call(this, props));
}
_createClass(AirConditionerIcon, [{
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-air-conditioner-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M6.586.663c2.346-1.813 4.881.395 5.455 3.837.428.005.853.12 1.229.34.516-.6.982-1.422.804-2.327-.425-2.158 1.984-3.903 4.276-.937 1.814 2.346-.397 4.884-3.842 5.455a2.505 2.505 0 0 1-.345 1.236c.598.512 1.415.97 2.314.793 2.157-.424 3.902 1.984.937 4.277-2.347 1.813-4.884-.396-5.455-3.84a2.506 2.506 0 0 1-1.22-.347c-.52.6-.992 1.427-.813 2.337.424 2.158-1.984 3.902-4.276.937-1.818-2.351.405-4.893 3.861-5.458.006-.427.12-.85.337-1.224-.599-.515-1.42-.98-2.325-.803-2.157.425-3.902-1.984-.937-4.276zM5 16h2a2 2 0 0 1 2 2v6H7v-2H5v2H3v-6a2 2 0 0 1 2-2zm0 2v2h2v-2H5zm7.93-2H15l-2.93 8H10l2.93-8zM18 16h3v2h-3v4h3v2h-3a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z' })
);
}
}]);
return AirConditionerIcon;
}(_react.Component);
AirConditionerIcon.defaultProps = {
className: ''
};
exports.default = AirConditionerIcon;