decord/source/5375_context.js

18 lines
562 B
JavaScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 5375
// Function ID: 46035
2026-07-20 16:05:17 +00:00
// Name: context
// Dependencies: []
// Exports: useFlashListContext, useRecyclerViewContext
2026-07-22 07:54:56 +00:00
// Module 5375 (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);
};