decord/source/5487_useMappingHelper.js

25 lines
550 B
JavaScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 5487
// Function ID: 5488
2026-07-20 16:05:17 +00:00
// Name: useMappingHelper
2026-07-31 08:44:05 +00:00
// Dependencies: [19, 5439]
2026-07-20 16:05:17 +00:00
// Exports: useMappingHelper
2026-07-31 08:44:05 +00:00
// Module 5487 (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-07-31 08:44:05 +00:00
let obj = recyclerViewContext(5439);
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;
};