"use client";
import { createContext, useContext } from "react";
const context = createContext({
    exists: false,
    containerRef: {
        current: null
    }
});
context.displayName = "TableContainer";
/**
 * **Client Component**
 *
 * @internal
 * @since 6.0.0
 */ export const { Provider: TableContainerProvider } = context;
/**
 * This is used to implement the sticky header and footer intersection observer
 * behavior.
 *
 * @internal
 * @since 6.0.0
 */ export function useTableContainer() {
    return useContext(context);
}

//# sourceMappingURL=TableContainerProvider.js.map