decord/source/7108_useMappingHelper.js

25 lines
550 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 7108
// Function ID: 7109
2026-07-20 16:05:17 +00:00
// Name: useMappingHelper
2026-08-15 05:55:55 +00:00
// Dependencies: [19, 7060]
2026-07-20 16:05:17 +00:00
// Exports: useMappingHelper
2026-08-15 05:55:55 +00:00
// Module 7108 (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-15 05:55:55 +00:00
let obj = recyclerViewContext(7060);
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;
};