react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.36 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 VlcIcon = function (_Component) {
_inherits(VlcIcon, _Component);
function VlcIcon(props) {
_classCallCheck(this, VlcIcon);
return _possibleConstructorReturn(this, (VlcIcon.__proto__ || Object.getPrototypeOf(VlcIcon)).call(this, props));
}
_createClass(VlcIcon, [{
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-vlc-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M12 1c-.416-.007-.813.228-1 .75L9.875 4.875c.487.524 1.4.625 2.125.625.725 0 1.638-.101 2.125-.625L13 1.75c-.177-.496-.584-.743-1-.75zM8.437 8.906l-1.437 4c1.068 1.366 3.256 1.594 5 1.594 1.744 0 3.932-.228 5-1.594l-1.438-4C14.762 9.832 13.24 10 12 10c-1.239 0-2.762-.168-3.563-1.094zm-3 6.094c-.822 0-1.68.647-1.906 1.438l-1.469 5.125c-.226.79.24 1.437 1.063 1.437h17.75c.822 0 1.289-.647 1.063-1.438l-1.47-5.125c-.226-.79-1.083-1.437-1.905-1.437h-.813l.344.969c.113.318.197.726 0 1C16.844 18.703 14.137 19 12 19c-2.137 0-4.844-.297-6.094-2.031-.197-.274-.113-.682 0-1L6.25 15h-.813z' })
);
}
}]);
return VlcIcon;
}(_react.Component);
VlcIcon.defaultProps = {
className: ''
};
exports.default = VlcIcon;