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…
Tiny piece of shared state for the dashboard's timeline selector. Owns the current `timeline` value plus the canonical option list. The chart hooks (`useHashrateChartData`, etc.) consume `timeline` as a prop.
import { useDashboardTimeRange } from "@tetherto/mdk-react-adapter";Signature
(opts: UseDashboardTimeRangeOptions = {}) => DashboardTimeRange| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |