UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.25 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 GridOffIcon = function (_Component) { _inherits(GridOffIcon, _Component); function GridOffIcon(props) { _classCallCheck(this, GridOffIcon); return _possibleConstructorReturn(this, (GridOffIcon.__proto__ || Object.getPrototypeOf(GridOffIcon)).call(this, props)); } _createClass(GridOffIcon, [{ 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-grid-off-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M0 2.768L1.277 1.5 22.5 22.723 21.232 24l-2-2H4.023a2 2 0 0 1-2-2L2.001 4.77 0 2.769zM10 4v3.677l-2-2V4H6.323l-2-2H20a2 2 0 0 1 2 2l.023 15.7-2.003-2.003L20.018 16h-1.695l-2-2h3.692l-.006-4H16v3.677l-2-2V10h-1.677l-2-2H14V4h-4zm6 0v4h4.006L20 4h-4zm0 16h1.232L16 18.768V20zM4.006 8h1.226L4.004 6.773 4.006 8zM10 14h1.232L10 12.768V14zm4 6v-3.232L13.232 16H10v4h4zm-6 0v-4H4.018l.005 4H8zm0-6v-3.232L7.232 10H4.009l.006 4H8z' }) ); } }]); return GridOffIcon; }(_react.Component); GridOffIcon.defaultProps = { className: '' }; exports.default = GridOffIcon;