decord/source/5155_context.js

19 lines
562 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 5155
// Function ID: 43658
2026-07-20 16:05:17 +00:00
// Name: context
// Dependencies: []
// Exports: useFlashListContext, useRecyclerViewContext
2026-07-21 06:55:02 +00:00
// Module 5155 (context)
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[0]);
const useContext = _module.useContext;
const context = _module.createContext(undefined);
export const RecyclerViewContextProvider = context.Provider;
export const useRecyclerViewContext = function useRecyclerViewContext() {
return useContext(context);
};
export const useFlashListContext = function useFlashListContext() {
return useContext(context);
};