UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.67 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 WeatherSnowyRainyIcon = function (_Component) { _inherits(WeatherSnowyRainyIcon, _Component); function WeatherSnowyRainyIcon(props) { _classCallCheck(this, WeatherSnowyRainyIcon); return _possibleConstructorReturn(this, (WeatherSnowyRainyIcon.__proto__ || Object.getPrototypeOf(WeatherSnowyRainyIcon)).call(this, props)); } _createClass(WeatherSnowyRainyIcon, [{ 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-snowy-rainy-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M18.5 18.672c0 1.285-1.007 2.328-2.25 2.328S14 19.957 14 18.672c0-1.553 2.25-4.172 2.25-4.172s2.25 2.62 2.25 4.172zM4 17.36a1.022 1.022 0 0 1 .73-1.253l2.251-.586-1.655-1.666c-.4-.391-.4-1.049 0-1.46a1.036 1.036 0 0 1 1.46 0l1.666 1.655.586-2.252a1.028 1.028 0 0 1 1.984.534l-.607 2.253 2.252-.607a1.028 1.028 0 1 1 .534 1.984l-2.251.586 1.655 1.666a1.036 1.036 0 0 1 0 1.46 1.036 1.036 0 0 1-1.46 0l-1.666-1.655-.586 2.251a1.028 1.028 0 0 1-1.984-.535l.607-2.251-2.251.606A1.028 1.028 0 0 1 4 17.36zM1 11a5 5 0 0 1 4.998-5 6.502 6.502 0 0 1 12.485 2.033L19 8a4 4 0 0 1 0 8 1 1 0 1 1 0-2 2 2 0 1 0 0-4h-2V9a5 5 0 0 0-9.935-.806A3 3 0 0 0 3 11c0 .845.35 1.609.906 2.16a1 1 0 0 1-.03 1.383.988.988 0 0 1-1.41-.005A4.984 4.984 0 0 1 1 11z' }) ); } }]); return WeatherSnowyRainyIcon; }(_react.Component); WeatherSnowyRainyIcon.defaultProps = { className: '' }; exports.default = WeatherSnowyRainyIcon;