UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.42 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 SeatReclineExtraIcon = function (_Component) { _inherits(SeatReclineExtraIcon, _Component); function SeatReclineExtraIcon(props) { _classCallCheck(this, SeatReclineExtraIcon); return _possibleConstructorReturn(this, (SeatReclineExtraIcon.__proto__ || Object.getPrototypeOf(SeatReclineExtraIcon)).call(this, props)); } _createClass(SeatReclineExtraIcon, [{ 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-seat-recline-extra-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M5.351 5.64a2.01 2.01 0 0 1-.492-2.789A2.012 2.012 0 0 1 7.65 2.36 2.016 2.016 0 0 1 8.14 5.15a2.012 2.012 0 0 1-2.789.489zm10.65 13.359h-7.07a2.99 2.99 0 0 1-2.96-2.539L4 7.003H2.002l1.987 9.755A5.014 5.014 0 0 0 8.94 21h7.061M16.23 15h-4.883l-1.024-4.101c1.577.894 3.276 1.542 5.146 1.22V9.99c-1.631.307-3.438-.269-4.688-1.25l-1.64-1.269a2.177 2.177 0 0 0-.762-.381 2.193 2.193 0 0 0-.991-.059h-.02A2.261 2.261 0 0 0 5.533 9.64L6.88 15.56a3.001 3.001 0 0 0 2.949 2.436h6.851l3.817 3.004 1.506-1.498' }) ); } }]); return SeatReclineExtraIcon; }(_react.Component); SeatReclineExtraIcon.defaultProps = { className: '' }; exports.default = SeatReclineExtraIcon;