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 QqchatIcon = function (_Component) {
_inherits(QqchatIcon, _Component);
function QqchatIcon(props) {
_classCallCheck(this, QqchatIcon);
return _possibleConstructorReturn(this, (QqchatIcon.__proto__ || Object.getPrototypeOf(QqchatIcon)).call(this, props));
}
_createClass(QqchatIcon, [{
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-qqchat-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M3.18 13.545c.584-1.383 1.385-2.402 1.99-2.627-.012-.801.138-1.294.388-1.696 0-.03-.07-.364.157-.77C5.868 4.854 8.21 2 12 2c3.79 0 6.132 2.854 6.285 6.452.226.407.157.74.157.77.25.402.4.895.389 1.696.604.225 1.405 1.244 1.99 2.627.748 1.76.87 3.442.268 3.753-.412.219-1.06-.274-1.668-1.178-.241.984-.837 1.876-1.688 2.591.892.33 1.474.867 1.474 1.478 0 1-1.576 1.811-3.522 1.811-1.754 0-3.206-.659-3.475-1.523h-.42C11.521 21.34 10.07 22 8.315 22c-1.946 0-3.522-.812-3.522-1.812 0-.61.582-1.147 1.474-1.477-.85-.715-1.446-1.608-1.688-2.592-.607.904-1.255 1.397-1.668 1.179-.601-.31-.48-1.993.269-3.753z' })
);
}
}]);
return QqchatIcon;
}(_react.Component);
QqchatIcon.defaultProps = {
className: ''
};
exports.default = QqchatIcon;