UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.44 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 PhoneClassicIcon = function (_Component) { _inherits(PhoneClassicIcon, _Component); function PhoneClassicIcon(props) { _classCallCheck(this, PhoneClassicIcon); return _possibleConstructorReturn(this, (PhoneClassicIcon.__proto__ || Object.getPrototypeOf(PhoneClassicIcon)).call(this, props)); } _createClass(PhoneClassicIcon, [{ 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-classic-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M11.994 3.002C7.456 3.002 3.338 4.782.29 7.67.11 7.85 0 8.099 0 8.379c0 .28.11.53.29.71l2.48 2.48c.18.18.429.288.709.288.27 0 .519-.109.699-.279.79-.74 1.69-1.36 2.66-1.85a.993.993 0 0 0 .558-.898v-3.1c1.45-.48 2.999-.728 4.598-.728 1.6 0 3.15.249 4.6.719v3.1c0 .39.229.738.558.898.98.49 1.87 1.12 2.67 1.85.18.18.43.279.7.279.28 0 .529-.11.709-.29l2.48-2.478c.18-.18.289-.431.289-.71 0-.28-.12-.52-.3-.7a16.964 16.964 0 0 0-11.706-4.668zM9 7v3s-6 5-6 8v4h18v-4c0-3-6-8-6-8V7h-2v2h-2V7H9zm3 5a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 1.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z' }) ); } }]); return PhoneClassicIcon; }(_react.Component); PhoneClassicIcon.defaultProps = { className: '' }; exports.default = PhoneClassicIcon;