react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.41 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 ChartDonutVariantIcon = function (_Component) {
_inherits(ChartDonutVariantIcon, _Component);
function ChartDonutVariantIcon(props) {
_classCallCheck(this, ChartDonutVariantIcon);
return _possibleConstructorReturn(this, (ChartDonutVariantIcon.__proto__ || Object.getPrototypeOf(ChartDonutVariantIcon)).call(this, props));
}
_createClass(ChartDonutVariantIcon, [{
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-chart-donut-variant-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M13 2.05c5.05.5 9 4.77 9 9.95 0 1.45-.32 2.83-.88 4.07l-2.6-1.53c.3-.79.48-1.64.48-2.54 0-3.53-2.61-6.43-6-6.92V2.05zM12 19a6.95 6.95 0 0 0 5.45-2.62l2.6 1.53A9.975 9.975 0 0 1 11.99 22C6.47 22 2 17.52 2 12a9.99 9.99 0 0 1 9-9.95v3.03C7.61 5.57 5 8.47 5 12c0 3.87 3.13 7 7 7zm0-13a6 6 0 0 1 1 11.917v-3.088A3.001 3.001 0 0 0 12 9l-.549.05-1.544-2.675A5.988 5.988 0 0 1 12 6zm-6 6c0-1.86.847-3.523 2.176-4.624L9.72 10.05A3.001 3.001 0 0 0 11 14.83v3.088A6.002 6.002 0 0 1 6 12z' })
);
}
}]);
return ChartDonutVariantIcon;
}(_react.Component);
ChartDonutVariantIcon.defaultProps = {
className: ''
};
exports.default = ChartDonutVariantIcon;