react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.34 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 AndroidStudioIcon = function (_Component) {
_inherits(AndroidStudioIcon, _Component);
function AndroidStudioIcon(props) {
_classCallCheck(this, AndroidStudioIcon);
return _possibleConstructorReturn(this, (AndroidStudioIcon.__proto__ || Object.getPrototypeOf(AndroidStudioIcon)).call(this, props));
}
_createClass(AndroidStudioIcon, [{
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-android-studio-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M11 2h2v2h.5A1.5 1.5 0 0 1 15 5.5V9l-.438.438 1.642 2.843A5.982 5.982 0 0 0 18 8h2a7.982 7.982 0 0 1-2.772 6.055l3.138 5.435.134 2.232-1.866-1.232-3.074-5.324A7.966 7.966 0 0 1 12 16c-1.279 0-2.488-.3-3.56-.834L5.366 20.49 3.5 21.722l.134-2.232L9.438 9.438 9 9V5.5A1.5 1.5 0 0 1 10.5 4h.5V2zM9.443 13.43c.776.365 1.642.57 2.557.57s1.781-.205 2.557-.57l-1.459-2.528h-.007a1.519 1.519 0 0 1-2.182 0h-.007l-1.46 2.527zM12 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z' })
);
}
}]);
return AndroidStudioIcon;
}(_react.Component);
AndroidStudioIcon.defaultProps = {
className: ''
};
exports.default = AndroidStudioIcon;