decord/source/5617_useMappingHelper.js

25 lines
550 B
JavaScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 5617
// Function ID: 5618
2026-07-20 16:05:17 +00:00
// Name: useMappingHelper
2026-08-06 08:05:19 +00:00
// Dependencies: [19, 5569]
2026-07-20 16:05:17 +00:00
// Exports: useMappingHelper
2026-08-06 08:05:19 +00:00
// Module 5617 (useMappingHelper)
2026-07-29 08:29:29 +00:00
require("noop").useCallback;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export const useMappingHelper = () => {
2026-08-06 08:05:19 +00:00
let obj = recyclerViewContext(5569);
2026-07-23 10:11:24 +00:00
recyclerViewContext = obj.useRecyclerViewContext();
2026-07-20 16:05:17 +00:00
obj = {
getMappingKey: useCallback((arg0, arg1) => {
let tmp = arg0;
if (recyclerViewContext) {
tmp = arg1;
}
return tmp;
}, items)
};
2026-07-23 10:11:24 +00:00
items = [recyclerViewContext];
2026-07-20 16:05:17 +00:00
return obj;
};