Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

AnimationPlayIcon.js 1.6 KiB

vor 3 Jahren
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 AnimationPlayIcon = function AnimationPlayIcon(_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: 'M4,2H14V4H4V14H2V4C2,2.89 2.89,2 4,2M8,6H18V8H8V18H6V8C6,6.89 6.89,6 8,6M12,10H20C21.11,10 22,10.89 22,12V20C22,21.11 21.11,22 20,22H12C10.89,22 10,21.11 10,20V12C10,10.89 10.89,10 12,10M14,12V20L20,16L14,12Z' })
  36. );
  37. };
  38. var AnimationPlayIcon$1 = React.memo ? React.memo(AnimationPlayIcon) : AnimationPlayIcon;
  39. module.exports = AnimationPlayIcon$1;