useSiteConsumption
Projects the freshest consumption sample out of the dashboard's existing tail-log query for the header stats strip (`HeaderConsumptionBox`).
Projects the freshest consumption sample out of the dashboard's existing tail-log query for the header stats strip (`<HeaderConsumptionBox />`).
import { useSiteConsumption } from "@tetherto/mdk-react-adapter";Signature
(params: UseConsumptionChartDataParams) => SiteConsumption| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |