decord/source/5648_context.js
2026-08-08 06:10:11 +00:00

19 lines
540 B
JavaScript

// Module ID: 5648
// Function ID: 5649
// Name: context
// Dependencies: [19]
// Exports: useFlashListContext, useRecyclerViewContext
// Module 5648 (context)
import noop from "noop";
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);
};