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.

DiceD12Icon.js 1.8 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 DiceD12Icon = function DiceD12Icon(_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: 'M12,2L1.5,9.64L5.5,22H18.5L22.5,9.64L12,2M17,20H7L3.85,10.4L12,4.47L20.15,10.4L17,20M17,15.75V17H11.66V15.91C11.66,15.91 15.23,12.45 15.23,11.4C15.23,10.12 14.18,10.25 14.18,10.25C13.5,10.3 13,10.87 13,11.55H11.44C11.5,10.09 12.72,8.94 14.27,9C16.74,9 16.77,10.85 16.77,11.3C16.77,13.07 13.58,15.77 13.58,15.77L17,15.75M10.5,17H8.89V10.89L7,11.47V10.19L10.31,9H10.5V17Z' })
  36. );
  37. };
  38. var DiceD12Icon$1 = React.memo ? React.memo(DiceD12Icon) : DiceD12Icon;
  39. module.exports = DiceD12Icon$1;