decord/source/5515_context.js
2026-08-05 07:35:12 +00:00

19 lines
540 B
JavaScript

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