1 | import React from 'react'; // TODO (apparently this is a bare "onSelect"?)
|
2 |
|
3 | var SelectableContext = /*#__PURE__*/React.createContext(null);
|
4 | export var makeEventKey = function makeEventKey(eventKey, href) {
|
5 | if (href === void 0) {
|
6 | href = null;
|
7 | }
|
8 |
|
9 | if (eventKey != null) return String(eventKey);
|
10 | return href || null;
|
11 | };
|
12 | export default SelectableContext; |
\ | No newline at end of file |