UNPKG

@meonode/ui

Version:

A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.

8 lines 417 B
/** * A hook that provides access to the theme context. * It also handles side effects like updating localStorage and applying the theme to the document root. * @returns {ThemeContextValue} The theme context value. * @throws {Error} If used outside a ThemeProvider. */ export declare const useTheme: () => import("../components/theme-provider.client.js").ThemeContextValue; //# sourceMappingURL=useTheme.d.ts.map