You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DivingHelmetIcon.js 1.9 KiB

3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. 'use strict';
  2. function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
  3. var React = _interopDefault(require('react'));
  4. var _extends = Object.assign || function (target) {
  5. for (var i = 1; i < arguments.length; i++) {
  6. var source = arguments[i];
  7. for (var key in source) {
  8. if (Object.prototype.hasOwnProperty.call(source, key)) {
  9. target[key] = source[key];
  10. }
  11. }
  12. }
  13. return target;
  14. };
  15. var objectWithoutProperties = function (obj, keys) {
  16. var target = {};
  17. for (var i in obj) {
  18. if (keys.indexOf(i) >= 0) continue;
  19. if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
  20. target[i] = obj[i];
  21. }
  22. return target;
  23. };
  24. var DivingHelmetIcon = function DivingHelmetIcon(_ref) {
  25. var _ref$color = _ref.color,
  26. color = _ref$color === undefined ? 'currentColor' : _ref$color,
  27. _ref$size = _ref.size,
  28. size = _ref$size === undefined ? 24 : _ref$size,
  29. children = _ref.children,
  30. props = objectWithoutProperties(_ref, ['color', 'size', 'children']);
  31. var className = 'mdi-icon ' + (props.className || '');
  32. return React.createElement(
  33. 'svg',
  34. _extends({}, props, { className: className, width: size, height: size, fill: color, viewBox: '0 0 24 24' }),
  35. React.createElement('path', { d: 'M16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12M19.45,7.89L18.07,8.58L18.32,9H20V15H18.33C17.84,16.03 17.11,16.92 16.21,17.6C17.85,18.11 19.1,18.91 19.67,19.86C18.69,21.1 15.62,22 12,22C8.38,22 5.31,21.1 4.33,19.86C4.9,18.91 6.15,18.11 7.79,17.6C6.89,16.92 6.16,16.03 5.67,15H4V9H5.68C6.37,7.54 7.54,6.37 9,5.68V4H15V5.68C15.68,6 16.29,6.46 16.82,7L18.55,6.14C19.93,5.42 20,4.1 20,2H22C22,4.06 22,6.62 19.45,7.89M17,12A5,5 0 0,0 12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12Z' })
  36. );
  37. };
  38. var DivingHelmetIcon$1 = React.memo ? React.memo(DivingHelmetIcon) : DivingHelmetIcon;
  39. module.exports = DivingHelmetIcon$1;