react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.19 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 HeadsetOffIcon = function (_Component) {
_inherits(HeadsetOffIcon, _Component);
function HeadsetOffIcon(props) {
_classCallCheck(this, HeadsetOffIcon);
return _possibleConstructorReturn(this, (HeadsetOffIcon.__proto__ || Object.getPrototypeOf(HeadsetOffIcon)).call(this, props));
}
_createClass(HeadsetOffIcon, [{
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-headset-off-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M22.5 4.768L20.43 6.84c.368.983.57 2.047.57 3.16v10a3 3 0 0 1-3 3h-6v-2h7v-1h-4v-7.73l-6 6V20H7.27L4.768 22.5 3.5 21.223 21.223 3.5 22.5 4.768zM12 .998a8.973 8.973 0 0 1 6.453 2.726L17.038 5.14A7 7 0 0 0 5 9.998v2h4v1.18L3.508 18.67a2.986 2.986 0 0 1-.509-1.672v-7a9 9 0 0 1 9-9zm7 11v-2c0-.535-.06-1.055-.174-1.555l-3.556 3.555H19z' })
);
}
}]);
return HeadsetOffIcon;
}(_react.Component);
HeadsetOffIcon.defaultProps = {
className: ''
};
exports.default = HeadsetOffIcon;