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.
1 line
1.2 KiB
1 line
1.2 KiB
{"ast":null,"code":"import * as React from 'react';\nconst SelectableContext = /*#__PURE__*/React.createContext(null);\nexport const makeEventKey = function (eventKey) {\n let href = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n if (eventKey != null) return String(eventKey);\n return href || null;\n};\nexport default SelectableContext;","map":{"version":3,"names":["React","SelectableContext","createContext","makeEventKey","eventKey","href","String"],"sources":["C:/Cours/SAE/SAE-3.01/Scripted/Scripted/website/node_modules/@restart/ui/esm/SelectableContext.js"],"sourcesContent":["import * as React from 'react';\nconst SelectableContext = /*#__PURE__*/React.createContext(null);\nexport const makeEventKey = (eventKey, href = null) => {\n if (eventKey != null) return String(eventKey);\n return href || null;\n};\nexport default SelectableContext;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,MAAMC,iBAAiB,GAAG,aAAaD,KAAK,CAACE,aAAa,CAAC,IAAI,CAAC;AAChE,OAAO,MAAMC,YAAY,GAAG,UAACC,QAAQ,EAAkB;EAAA,IAAhBC,IAAI,uEAAG,IAAI;EAChD,IAAID,QAAQ,IAAI,IAAI,EAAE,OAAOE,MAAM,CAACF,QAAQ,CAAC;EAC7C,OAAOC,IAAI,IAAI,IAAI;AACrB,CAAC;AACD,eAAeJ,iBAAiB"},"metadata":{},"sourceType":"module"} |