UNPKG

drizzle-cube

Version:

Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.

12 lines (11 loc) 296 B
import { Theme } from '../theme'; /** * Hook to access and update theme * * Returns current theme and a setter function. * Only components using this hook will re-render on theme changes. */ export declare function useTheme(): { theme: Theme; setTheme: (newTheme: Theme) => void; };