UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.46 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 WeatherNightIcon = function (_Component) { _inherits(WeatherNightIcon, _Component); function WeatherNightIcon(props) { _classCallCheck(this, WeatherNightIcon); return _possibleConstructorReturn(this, (WeatherNightIcon.__proto__ || Object.getPrototypeOf(WeatherNightIcon)).call(this, props)); } _createClass(WeatherNightIcon, [{ 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-weather-night-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M17.753 4.09L15.22 6.031l.909 3.06L13.5 7.28l-2.629 1.81.909-3.06-2.533-1.94 3.19-.082L13.5 1l1.063 3.009 3.19.081zm3.497 6.908l-1.638 1.255.588 1.978-1.7-1.17-1.7 1.17.588-1.978-1.638-1.255 2.063-.053L18.5 9l.688 1.945 2.062.053zm-2.28 4.947c.83-.079 1.724 1.103 1.188 1.854a10.06 10.06 0 0 1-1.079 1.273c-3.905 3.905-10.236 3.905-14.142 0-3.905-3.906-3.905-10.237 0-14.142.4-.4.827-.76 1.273-1.079.751-.535 1.933.357 1.854 1.187a9.98 9.98 0 0 0 2.884 8.023 9.98 9.98 0 0 0 8.023 2.884zm-1.636 2.026a11.955 11.955 0 0 1-7.8-3.495 11.955 11.955 0 0 1-3.496-7.8A8 8 0 0 0 17.334 17.97z' }) ); } }]); return WeatherNightIcon; }(_react.Component); WeatherNightIcon.defaultProps = { className: '' }; exports.default = WeatherNightIcon;