Skip to main content
Used alongside useDashboard for fully customizable dashboards. This hook exists to abstract report specific logic to report specific components and to allow parallel fetching of queries in a dashboard. Below is an example with shadcn showing fully custom styling.
App.tsx
Parameters
string
required
The Quill reportId of the report to load
Returns
QuillReport | null
The report data returned by useDashboardReport.
boolean
Whether the report data is currently loading
(filters: Filter[]) => void
Function to apply filters to the report.
() => void
Function to delete the report.
() => Promise<void>
Function to fetch the next page of data. Note that the pageSize is set in useDashboard.