UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.34 kB
'use strict'; 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 YammerIcon = function (_Component) { _inherits(YammerIcon, _Component); function YammerIcon(props) { _classCallCheck(this, YammerIcon); return _possibleConstructorReturn(this, (YammerIcon.__proto__ || Object.getPrototypeOf(YammerIcon)).call(this, props)); } _createClass(YammerIcon, [{ 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-yammer-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M13.545 5.926L9.182 17.113c-.025.073-.925 2.532-3.953 2.532a1 1 0 1 1 0-2c1.56 0 2.034-1.113 2.082-1.24l.367-1.008L3.824 5.94a1 1 0 0 1 1.852-.755l3.072 7.538 2.934-7.524a1 1 0 1 1 1.863.727zm4.976.449a.86.86 0 0 0-.545.196S13.8 9.565 13.992 9.876c.197.32 4.834-1.849 4.845-1.853a.855.855 0 0 0-.316-1.648zm.745 10.466a.86.86 0 0 0-.438-.379s-4.655-2.173-4.832-1.854c-.182.33 3.98 3.309 3.989 3.316a.855.855 0 0 0 1.281-1.083zm1.7-5.423a.86.86 0 0 0-.57-.1s-5.11.533-5.098.899c.013.375 5.115.788 5.127.79a.855.855 0 0 0 .542-1.589z' }) ); } }]); return YammerIcon; }(_react.Component); YammerIcon.defaultProps = { className: '' }; exports.default = YammerIcon;