UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

15 lines (12 loc) 430 B
'use client'; import { createContext, useContext } from 'react'; const TableBodyContext = createContext(void 0); function useTableBodyContext() { const context = useContext(TableBodyContext); if (!context) { throw new Error("useTableBodyContext should be used within the TableBodyContext provider!"); } return context; } export { TableBodyContext, useTableBodyContext }; //# sourceMappingURL=TableBodyContext.js.map