@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
14 lines (13 loc) • 326 B
JavaScript
import { createContext as o, useContext as e } from "react";
const n = o(void 0);
function d() {
const t = e(n);
if (!t)
throw new Error("useModalContext should be used within the ModalContext provider!");
return t;
}
export {
n as ModalContext,
d as useModalContext
};
//# sourceMappingURL=ModalContext.mjs.map