@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 s() {
const t = e(n);
if (!t)
throw new Error("useToastContext should be used within the ToastContext provider!");
return t;
}
export {
n as ToastContext,
s as useToastContext
};
//# sourceMappingURL=ToastContext.mjs.map