decord/source/5588_context.js
2026-08-07 06:50:47 +00:00

19 lines
540 B
JavaScript

// Module ID: 5588
// Function ID: 5589
// Name: context
// Dependencies: [19]
// Exports: useFlashListContext, useRecyclerViewContext
// Module 5588 (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);
};