UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.46 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 AppleFinderIcon = function (_Component) { _inherits(AppleFinderIcon, _Component); function AppleFinderIcon(props) { _classCallCheck(this, AppleFinderIcon); return _possibleConstructorReturn(this, (AppleFinderIcon.__proto__ || Object.getPrototypeOf(AppleFinderIcon)).call(this, props)); } _createClass(AppleFinderIcon, [{ 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-apple-finder-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M4 4h7.887c.57-1.093 1.246-2.123 2.046-2.996l1.106 1.106c-.425.593-.808 1.23-1.152 1.89H20a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-5.075l.336 1.23-1.834.724-.5-1.954H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v13h8.54c-.052-.33-.1-.664-.141-1.003-.132.002-.265.003-.399.003-2.753 0-5.217-.48-6.868-1.238l.91-1.639c.961.518 3.13.877 5.958.877h.238a18.074 18.074 0 0 1 .033-2H9s.403-4.032 1.978-8H4zm16 13V6h-7.022c-.88 2.219-1.395 4.457-1.677 6h2.871c-.194 1.28-.206 2.621-.108 3.93 1.81-.128 3.183-.424 3.893-.807l.91 1.64c-1.176.539-2.766.938-4.579 1.123.058.38.123.752.192 1.114H20zM6 8h2v3H6V8zm10 0h2v3h-2V8z' }) ); } }]); return AppleFinderIcon; }(_react.Component); AppleFinderIcon.defaultProps = { className: '' }; exports.default = AppleFinderIcon;