UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.59 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 PawOffIcon = function (_Component) { _inherits(PawOffIcon, _Component); function PawOffIcon(props) { _classCallCheck(this, PawOffIcon); return _possibleConstructorReturn(this, (PawOffIcon.__proto__ || Object.getPrototypeOf(PawOffIcon)).call(this, props)); } _createClass(PawOffIcon, [{ 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-paw-off-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M2 4.268L3.277 3 21.5 21.223 20.232 22.5l-2.007-2.006c-.138.102-.283.19-.432.257-1.814.817-3.915-.883-5.905-.883-1.99 0-4.126 1.775-5.906.883-.97-.487-1.669-1.791-1.539-2.868.181-1.498 1.969-2.29 3.028-3.364.738-.747 1.365-1.832 2.084-2.696L2 4.268zm6.35-1.257c1.178-.179 2.43 1.114 2.792 2.886.176.854.114 1.663-.13 2.293L7.025 4.202c.266-.651.73-1.1 1.325-1.19zm7.16 0c1.179.178 1.84 1.76 1.477 3.532-.365 1.773-1.614 3.065-2.793 2.887-1.179-.179-1.84-1.76-1.476-3.533.364-1.773 1.614-3.065 2.793-2.886zM3.022 7.595c1.123-.488 2.67.39 3.456 1.96.785 1.57.511 3.24-.611 3.727-1.124.488-2.67-.39-3.456-1.96-.785-1.57-.511-3.238.611-3.727zm17.958 0c1.123.489 1.396 2.157.611 3.728-.786 1.57-2.332 2.447-3.456 1.96-1.122-.489-1.396-2.158-.611-3.728.786-1.57 2.333-2.448 3.456-1.96z' }) ); } }]); return PawOffIcon; }(_react.Component); PawOffIcon.defaultProps = { className: '' }; exports.default = PawOffIcon;