dgz-ui-shared
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library
13 lines (12 loc) • 315 B
JavaScript
import { useContext as o } from "react";
import { T as r } from "./ThemeProviderContext-CDiIvEe7.es.js";
const s = () => {
const e = o(r);
if (e === void 0)
throw new Error("useTheme must be used within a ThemeProvider");
return e;
};
export {
s as u
};
//# sourceMappingURL=useTheme-iKF3BEvj.es.js.map