UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 5.49 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; }; }(); 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 React = require('react'); var IconBase = require('react-icon-base'); var TiWeatherShower = function (_React$Component) { _inherits(TiWeatherShower, _React$Component); function TiWeatherShower() { _classCallCheck(this, TiWeatherShower); return _possibleConstructorReturn(this, Object.getPrototypeOf(TiWeatherShower).apply(this, arguments)); } _createClass(TiWeatherShower, [{ key: 'render', value: function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 40 40' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'm28.333333333333336 30c-0.9200000000000017 0-1.6666666666666679-0.745000000000001-1.6666666666666679-1.6666666666666679s0.7466666666666661-1.6666666666666679 1.6666666666666679-1.6666666666666679c2.7566666666666677 0 5-2.2433333333333323 5-5s-2.2433333333333323-5-5-5c-0.40500000000000114 0-0.8333333333333321 0.06666666666666643-1.3500000000000014 0.216666666666665l-1.7916666666666679 0.5116666666666667-0.30833333333333357-1.838333333333333c-0.543333333333333-3.2199999999999953-3.296666666666667-5.556666666666663-6.549999999999997-5.556666666666663-3.676666666666666 0-6.666666666666668 2.99-6.666666666666668 6.666666666666668 0 0.45333333333333314 0.04499999999999993 0.908333333333335 0.13666666666666671 1.3500000000000014l0.4066666666666663 2-2.366666666666667-0.026666666666667282c-1.6833333333333336 0.00999999999999801-3.1766666666666667 1.504999999999999-3.1766666666666667 3.3433333333333337s1.495 3.333333333333332 3.333333333333333 3.333333333333332c0.9199999999999999 0 1.666666666666666 0.745000000000001 1.666666666666666 1.6666666666666679s-0.7466666666666661 1.6666666666666679-1.666666666666666 1.6666666666666679c-3.6766666666666667 0-6.666666666666667-2.9899999999999984-6.666666666666667-6.666666666666668 0-3.1000000000000014 2.128333333333333-5.716666666666669 4.999999999999999-6.456666666666667v-0.21000000000000085c0-5.516666666666666 4.483333333333334-10 10-10 4.311666666666667 0 8.040000000000003 2.7300000000000004 9.416666666666668 6.691666666666666 4.899999999999999-0.408333333333335 8.916666666666671 3.5216666666666683 8.916666666666671 8.308333333333334 0 4.595000000000002-3.7383333333333297 8.333333333333332-8.333333333333336 8.333333333333332z m-10.833333333333336 0l1.6666666666666679-5 1.6666666666666679 5c0.3066666666666684 0.9216666666666669-0.19000000000000128 1.9166666666666679-1.1116666666666681 2.221666666666664-0.9200000000000017 0.30833333333333-1.9166666666666679-0.18999999999999773-2.2216666666666676-1.1099999999999994-0.125-0.37666666666666515-0.11666666666666714-0.7633333333333319 0-1.1116666666666681z m5 3.3333333333333357l1.6666666666666679-5 1.6666666666666679 5c0.3066666666666684 0.9216666666666669-0.19000000000000128 1.9166666666666643-1.1116666666666681 2.221666666666664-0.9200000000000017 0.30833333333333-1.9166666666666679-0.18999999999999773-2.2216666666666676-1.1099999999999994-0.125-0.37666666666666515-0.11666666666666714-0.7633333333333354 0-1.1116666666666646z m-10 0l1.666666666666666-5 1.666666666666666 5c0.3066666666666684 0.9216666666666669-0.1899999999999995 1.9166666666666643-1.1116666666666664 2.221666666666664-0.9199999999999999 0.30833333333333-1.916666666666666-0.18999999999999773-2.221666666666666-1.1099999999999994-0.125-0.37666666666666515-0.11666666666666714-0.7633333333333354 0-1.1116666666666646z' }) ) ); } }]); return TiWeatherShower; }(React.Component); exports.default = TiWeatherShower;