useDashboardExport
Builds CSV / JSON downloads from the dashboard's already-cached TanStack Query data. Does NOT trigger refetches — the export is exactly what the user is look…
Builds CSV / JSON downloads from the dashboard's already-cached TanStack Query data. Does NOT trigger refetches — the export is exactly what the user is looking at when they click the button.
import { useDashboardExport } from "@tetherto/mdk-react-adapter";Signature
(options: UseDashboardExportOptions) => UseDashboardExportReturn| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useDashboardDateRange
Owns the single source of truth for the dashboard's date-range picker. Pass `start` / `end` from the return value into every data hook on the page (`useHashr…
useDashboardTimeRange
Tiny piece of shared state for the dashboard's timeline selector. Owns the current `timeline` value plus the canonical option list. The chart hooks (`useHash…