mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
23 lines
589 B
JavaScript
23 lines
589 B
JavaScript
"use strict";
|
|
|
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
|
|
exports.__esModule = true;
|
|
exports.default = exports.makeEventKey = void 0;
|
|
|
|
var _react = _interopRequireDefault(require("react"));
|
|
|
|
var SelectableContext = /*#__PURE__*/_react.default.createContext(null);
|
|
|
|
var makeEventKey = function makeEventKey(eventKey, href) {
|
|
if (href === void 0) {
|
|
href = null;
|
|
}
|
|
|
|
if (eventKey != null) return String(eventKey);
|
|
return href || null;
|
|
};
|
|
|
|
exports.makeEventKey = makeEventKey;
|
|
var _default = SelectableContext;
|
|
exports.default = _default; |