UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.36 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 WifiOffIcon = function (_Component) { _inherits(WifiOffIcon, _Component); function WifiOffIcon(props) { _classCallCheck(this, WifiOffIcon); return _possibleConstructorReturn(this, (WifiOffIcon.__proto__ || Object.getPrototypeOf(WifiOffIcon)).call(this, props)); } _createClass(WifiOffIcon, [{ 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-wifi-off-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M2.275 2.998l-1.274 1.27 1.47 1.474a16.03 16.03 0 0 0-1.27.86l1.796 2.397c.528-.395 1.08-.752 1.662-1.074l2.226 2.231c-.737.341-1.441.756-2.085 1.24L6.601 13.8A8.951 8.951 0 0 1 9.2 12.466l2.553 2.554A5.983 5.983 0 0 0 8.4 16.201l3.604 4.8 2.454-3.276 3.278 3.276 1.264-1.28M12.003 2.998c-2.15 0-4.2.386-6.104 1.074L8.29 6.465a14.982 14.982 0 0 1 3.711-.464 14.93 14.93 0 0 1 9 2.998l1.8-2.398a17.93 17.93 0 0 0-10.8-3.603zm0 6c-.382 0-.753.02-1.124.055l3.189 3.193a8.966 8.966 0 0 1 3.335 1.553l1.796-2.403A11.946 11.946 0 0 0 12.002 9z' }) ); } }]); return WifiOffIcon; }(_react.Component); WifiOffIcon.defaultProps = { className: '' }; exports.default = WifiOffIcon;