UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.78 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 SearchWebIcon = function (_Component) { _inherits(SearchWebIcon, _Component); function SearchWebIcon(props) { _classCallCheck(this, SearchWebIcon); return _possibleConstructorReturn(this, (SearchWebIcon.__proto__ || Object.getPrototypeOf(SearchWebIcon)).call(this, props)); } _createClass(SearchWebIcon, [{ 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-search-web-icon ' + this.props.className }), _react2.default.createElement('path', { 'fill-opacity': '.898', d: 'M15.5 14l4.99 5L19 20.49l-5-4.99v-.79l-.27-.28A6.471 6.471 0 0 1 9.5 16 6.5 6.5 0 1 1 16 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79zm-6-9.5l-.55.03A13.661 13.661 0 0 0 8.07 7h2.86a13.664 13.664 0 0 0-.88-2.47c-.18-.02-.364-.03-.55-.03zM13.831 7a5.016 5.016 0 0 0-2.684-2.222c.245.531.553 1.304.782 2.222h1.902zM5.17 7H7.07c.229-.918.537-1.691.782-2.222A5.016 5.016 0 0 0 5.169 7zM4.5 9.5c0 .523.08 1.027.229 1.5h2.14L6.75 9.5 6.869 8h-2.14A4.998 4.998 0 0 0 4.5 9.5zm9.771 1.5c.149-.473.229-.977.229-1.5s-.08-1.026-.229-1.5h-2.14c.074.478.119.982.119 1.5s-.045 1.022-.119 1.5h2.14zM7.87 8L7.75 9.5l.119 1.5h3.262c.074-.478.119-.982.119-1.5s-.045-1.022-.119-1.5H7.87zM9.5 14.5c.179 0 .355-.01.529-.028.255-.522.632-1.397.9-2.472H8.07a12.77 12.77 0 0 0 .9 2.472l.529.028zm4.331-2.5H11.93a12.8 12.8 0 0 1-.782 2.222A5.016 5.016 0 0 0 13.831 12zM5.17 12a5.016 5.016 0 0 0 2.684 2.222A12.8 12.8 0 0 1 7.07 12H5.17z' }) ); } }]); return SearchWebIcon; }(_react.Component); SearchWebIcon.defaultProps = { className: '' }; exports.default = SearchWebIcon;