decord/source/5754_context.js
2026-08-25 06:04:03 +00:00

19 lines
549 B
JavaScript

// Module ID: 5754
// Function ID: 5755
// Name: context
// Dependencies: [19]
// Exports: useFlashListContext, useRecyclerViewContext
// Module 5754 (context)
import noop from "noop" /* 19 */;
const useContext = noop.useContext;
const context = noop.createContext(undefined);
export const RecyclerViewContextProvider = context.Provider;
export const useRecyclerViewContext = function useRecyclerViewContext() {
return useContext(context);
};
export const useFlashListContext = function useFlashListContext() {
return useContext(context);
};