react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.17 kB
JavaScript
;
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 KeyboardVariantIcon = function (_Component) {
_inherits(KeyboardVariantIcon, _Component);
function KeyboardVariantIcon(props) {
_classCallCheck(this, KeyboardVariantIcon);
return _possibleConstructorReturn(this, (KeyboardVariantIcon.__proto__ || Object.getPrototypeOf(KeyboardVariantIcon)).call(this, props));
}
_createClass(KeyboardVariantIcon, [{
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-keyboard-variant-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M6 16h12v2H6v-2zm0-3v2H2v-2h4zm1 2v-2h3v2H7zm4 0v-2h2v2h-2zm3 0v-2h3v2h-3zm4 0v-2h4v2h-4zM2 10h3v2H2v-2zm17 2v-2h3v2h-3zm-1 0h-2v-2h2v2zM8 12H6v-2h2v2zm4 0H9v-2h3v2zm3 0h-2v-2h2v2zM2 9V7h2v2H2zm3 0V7h2v2H5zm3 0V7h2v2H8zm3 0V7h2v2h-2zm3 0V7h2v2h-2zm3 0V7h5v2h-5z' })
);
}
}]);
return KeyboardVariantIcon;
}(_react.Component);
KeyboardVariantIcon.defaultProps = {
className: ''
};
exports.default = KeyboardVariantIcon;