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