react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.54 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 NetworkQuestionIcon = function (_Component) {
_inherits(NetworkQuestionIcon, _Component);
function NetworkQuestionIcon(props) {
_classCallCheck(this, NetworkQuestionIcon);
return _possibleConstructorReturn(this, (NetworkQuestionIcon.__proto__ || Object.getPrototypeOf(NetworkQuestionIcon)).call(this, props));
}
_createClass(NetworkQuestionIcon, [{
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-network-question-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M17 3c1.103 0 2 .896 2 2v10c0 1.104-.897 2-2 2h-4v2h1a1 1 0 0 1 1 1h7v2h-7a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1H2v-2h7a1 1 0 0 1 1-1h1v-2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10zm-4.813 2c-.869 0-1.57.198-2.103.594-.529.392-.787.98-.775 1.763l.011.036h1.934c.008-.306.1-.535.275-.69a.963.963 0 0 1 .659-.232c.324 0 .575.094.752.283.176.188.263.441.263.758 0 .305-.076.575-.228.808-.15.234-.355.43-.618.588-.509.343-.858.647-1.05.91-.192.264-.291.658-.295 1.182h1.986c0-.313.043-.56.129-.74.09-.185.261-.357.512-.516.45-.226.82-.538 1.109-.934a2.13 2.13 0 0 0 .442-1.298c0-.77-.269-1.382-.805-1.834C13.852 5.225 13.12 5 12.188 5zM11 12v2h2v-2h-2z' })
);
}
}]);
return NetworkQuestionIcon;
}(_react.Component);
NetworkQuestionIcon.defaultProps = {
className: ''
};
exports.default = NetworkQuestionIcon;