Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

NintendoSwitchIcon.js 2.0 KiB

3 anni fa
1234567891011121314151617181920212223242526272829303132333435363738
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  6. var _react = require('react');
  7. var _react2 = _interopRequireDefault(_react);
  8. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  9. function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
  10. var DEFAULT_SIZE = 24;
  11. exports.default = function (_ref) {
  12. var _ref$fill = _ref.fill,
  13. fill = _ref$fill === undefined ? 'currentColor' : _ref$fill,
  14. _ref$width = _ref.width,
  15. width = _ref$width === undefined ? DEFAULT_SIZE : _ref$width,
  16. _ref$height = _ref.height,
  17. height = _ref$height === undefined ? DEFAULT_SIZE : _ref$height,
  18. _ref$style = _ref.style,
  19. style = _ref$style === undefined ? {} : _ref$style,
  20. props = _objectWithoutProperties(_ref, ['fill', 'width', 'height', 'style']);
  21. return _react2.default.createElement(
  22. 'svg',
  23. _extends({
  24. viewBox: '0 0 ' + DEFAULT_SIZE + ' ' + DEFAULT_SIZE,
  25. style: _extends({ fill: fill, width: width, height: height }, style)
  26. }, props),
  27. _react2.default.createElement('path', { d: 'M10.04,20.4H7.12C6.19,20.4 5.3,20 4.64,19.36C4,18.7 3.6,17.81 3.6,16.88V7.12C3.6,6.19 4,5.3 4.64,4.64C5.3,4 6.19,3.62 7.12,3.62H10.04V20.4M7.12,2C4.29,2 2,4.29 2,7.12V16.88C2,19.71 4.29,22 7.12,22H11.65V2H7.12M5.11,8C5.11,9.04 5.95,9.88 7,9.88C8.03,9.88 8.87,9.04 8.87,8C8.87,6.96 8.03,6.12 7,6.12C5.95,6.12 5.11,6.96 5.11,8M17.61,11C18.72,11 19.62,11.89 19.62,13C19.62,14.12 18.72,15 17.61,15C16.5,15 15.58,14.12 15.58,13C15.58,11.89 16.5,11 17.61,11M16.88,22C19.71,22 22,19.71 22,16.88V7.12C22,4.29 19.71,2 16.88,2H13.65V22H16.88Z' })
  28. );
  29. };