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.

FileCadBoxIcon.js 2.0 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 FileCadBoxIcon = function FileCadBoxIcon(_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: 'M5 3C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M11.25 5.25H12.75V6.38C13.58 6.38 14.25 7.05 14.25 7.88V10.37L14.11 10.5L15.18 12.36C15.55 11.76 15.75 11.07 15.75 10.36H17.25C17.26 11.61 16.81 12.82 16 13.77L18 17.25V18.75L16.7 18L14.84 14.78C13.12 15.91 10.89 15.91 9.16 14.78L7.3 18L6 18.75V17.25L9.89 10.5L9.75 10.37V7.88C9.75 7.05 10.42 6.38 11.25 6.38M12 7.88C11.16 7.88 10.74 8.9 11.34 9.5C11.94 10.08 12.95 9.65 12.94 8.81C12.94 8.29 12.5 7.88 12 7.88M11 11.6L9.91 13.5C11.17 14.36 12.83 14.36 14.09 13.5L13 11.6C12.43 12.11 11.57 12.11 11 11.6Z' })
  36. );
  37. };
  38. var FileCadBoxIcon$1 = React.memo ? React.memo(FileCadBoxIcon) : FileCadBoxIcon;
  39. module.exports = FileCadBoxIcon$1;