UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

12 lines (11 loc) 269 B
import { useContext as e } from "react"; import { TableContext as o } from "./table.context.js"; const s = () => { const t = e(o); if (!t) throw new Error("useTableContext must be used within a TableProvider"); return t; }; export { s as useTableContext };