react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.25 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 StethoscopeIcon = function (_Component) {
_inherits(StethoscopeIcon, _Component);
function StethoscopeIcon(props) {
_classCallCheck(this, StethoscopeIcon);
return _possibleConstructorReturn(this, (StethoscopeIcon.__proto__ || Object.getPrototypeOf(StethoscopeIcon)).call(this, props));
}
_createClass(StethoscopeIcon, [{
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-stethoscope-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M18.996 7.99c.564 0 1 .436 1 1 0 .564-.436 1-1 1-.564 0-1-.436-1-1 0-.564.436-1 1-1zm-17-6.01v9a5.998 5.998 0 0 0 5.14 5.93C7.763 19.92 10.42 22 13.5 22a6.5 6.5 0 0 0 6.5-6.5v-3.69c1.16-.417 2-1.52 2-2.81 0-1.65-1.35-3-3-3s-3 1.35-3 3c0 1.29.843 2.4 2 2.81l.004 3.6c0 2.5-2 4.5-4.5 4.5-2 0-3.684-1.21-4.284-3.01C12 16.3 14 13.8 14 11V2h-4v3h2v6a3.999 3.999 0 1 1-8 0V5h2V2l-4.004-.02z' })
);
}
}]);
return StethoscopeIcon;
}(_react.Component);
StethoscopeIcon.defaultProps = {
className: ''
};
exports.default = StethoscopeIcon;