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.

ChilliMediumIcon.js 2.0 KiB

3 年之前
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 ChilliMediumIcon = function ChilliMediumIcon(_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: 'M15.75,9L16.95,8.24C17.58,8.58 18,9.24 18,10V21.75C18,21.75 10,20 10,11V10C10,9.27 10.39,8.63 10.97,8.28L12.43,9L14,8L15.75,9M12,2C13.53,2 14.8,3.15 15,4.64C16,4.93 16.81,5.67 17.22,6.63L15.75,7.5L14,6.5L12.43,7.5L10.76,6.67C11.15,5.72 11.95,5 12.94,4.66C12.8,4.28 12.43,4 12,4V2M8,10C8,18 11.63,19.84 14,21.75C14,21.75 6,20 6,11V10C6,9.27 6.39,8.63 6.97,8.28L8.3,8.94C8.11,9.25 8,9.61 8,10M8.43,7.5L6.76,6.67C7.15,5.72 7.95,5 8.94,4.66C8.8,4.28 8.43,4 8,4V2C8.77,2 9.47,2.29 10,2.76V4C10.43,4 10.8,4.28 10.94,4.66C9.95,5 9.15,5.72 8.43,7.5Z' })
  36. );
  37. };
  38. var ChilliMediumIcon$1 = React.memo ? React.memo(ChilliMediumIcon) : ChilliMediumIcon;
  39. module.exports = ChilliMediumIcon$1;