UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.31 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 PhoneLogIcon = function (_Component) { _inherits(PhoneLogIcon, _Component); function PhoneLogIcon(props) { _classCallCheck(this, PhoneLogIcon); return _possibleConstructorReturn(this, (PhoneLogIcon.__proto__ || Object.getPrototypeOf(PhoneLogIcon)).call(this, props)); } _createClass(PhoneLogIcon, [{ 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-phone-log-icon ' + this.props.className }), _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M20 15.498c.552 0 1.001.45 1.001 1V20c0 .551-.45.996-1.001.996C10.61 20.996 2.997 13.39 2.997 4c0-.552.45-1.001 1.002-1.001H7.5c.551 0 1.001.45 1.001 1 0 1.246.2 2.447.567 3.57.112.347.028.742-.244 1.016L6.62 10.79a15.052 15.052 0 0 0 6.591 6.587l2.198-2.202a1.003 1.003 0 0 1 1.016-.245c1.128.367 2.324.567 3.574.567zm-7.998-12.5H14V5h-1.997M15 2.998h6.001V5H15m-2.998 1.001H14v1.996h-1.997M15 6.002h6.001v1.996H15M12.002 9H14V11h-1.997M15 9h6.001V11H15' }) ); } }]); return PhoneLogIcon; }(_react.Component); PhoneLogIcon.defaultProps = { className: '' }; exports.default = PhoneLogIcon;