import { createContext, useContext } from 'react';
import { assertContextValue } from '../createContext';
export const TableContext = createContext(null);
export const TableProvider = TableContext.Provider;
export const TableConsumer = TableContext.Consumer;
export const useTableContext = () => {
    const value = useContext(TableContext);
    assertContextValue('TableProvider', value);
    return value;
};
//# sourceMappingURL=TableContext.js.map