decord/source/7098_context.js
2026-08-24 06:08:38 +00:00

19 lines
549 B
JavaScript

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