react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.56 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 LanguageCsharpIcon = function (_Component) {
_inherits(LanguageCsharpIcon, _Component);
function LanguageCsharpIcon(props) {
_classCallCheck(this, LanguageCsharpIcon);
return _possibleConstructorReturn(this, (LanguageCsharpIcon.__proto__ || Object.getPrototypeOf(LanguageCsharpIcon)).call(this, props));
}
_createClass(LanguageCsharpIcon, [{
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-language-csharp-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M11.496 15.973l.416 2.436c-.263.14-.678.272-1.244.395s-1.237.188-2.011.196c-2.204-.044-3.864-.698-4.98-1.962-1.116-1.263-1.675-2.873-1.677-4.83.048-2.305.722-4.079 2.023-5.322C5.323 5.643 6.963 5.014 8.94 5c.753.007 1.4.07 1.94.19s.94.254 1.201.402l-.605 2.493-1.034-.347a6.23 6.23 0 0 0-1.389-.152c-1.162-.002-2.12.365-2.876 1.1-.756.736-1.147 1.85-1.174 3.343.01 1.36.369 2.426 1.077 3.2.707.774 1.705 1.168 2.992 1.183l1.325-.122c.43-.08.796-.185 1.098-.317zM13.89 19l.634-4h-1.5l.317-2h1.5l.316-2h-1.5l.317-2h1.5l.634-4h2l-.634 4h1l.634-4h2l-.634 4h1.5l-.317 2h-1.5l-.316 2h1.5l-.317 2h-1.5l-.634 4h-2l.634-4h-1l-.634 4h-2zm2.95-6h1l.317-2h-1l-.316 2z' })
);
}
}]);
return LanguageCsharpIcon;
}(_react.Component);
LanguageCsharpIcon.defaultProps = {
className: ''
};
exports.default = LanguageCsharpIcon;