Optional
className?: stringA custom class name to be added to the root element.
The ID of the dashboard. This is either:
http://localhost:3000/dashboard/1-my-dashboard
where the ID is 1
entity_id
key of the dashboard object when using the API directly or using the SDK Collection Browser to return dataOptional
drillThroughQuestionHeight?: numberHeight of a question component when drilled from the dashboard to a question level.
Optional
drillThroughQuestionProps?: Omit<BaseInteractiveQuestionProps, "questionId"> & InteractiveQuestionDefaultViewPropsProps of a question component when drilled from the dashboard to a question level.
Optional
hiddenParameters?: string[]A list of parameters to hide.
Optional
initialParameters?: DefaultQuery<string>Query parameters for the dashboard. For a single option, use a string
value, and use a list of strings for multiple options.\
Optional
onLoad?: (dashboard: null | MetabaseDashboard) => voidCallback that is called when the dashboard is loaded.
Optional
onLoadWithoutCards?: (dashboard: null | MetabaseDashboard) => voidCallback that is called when the dashboard is loaded without cards.
Optional
plugins?: MetabasePluginsConfigAdditional mapper function to override or add drill-down menu. See the implementing custom actions section for more details.
Optional
renderDrillThroughQuestion?: () => ReactNodeA custom React component to render the question layout. Use namespaced InteractiveQuestion components to build the layout.
Optional
style?: CSSPropertiesA custom style object to be added to the root element.
Optional
withCardTitle?: booleanWhether the dashboard cards should display a title.
Optional
withDownloads?: booleanWhether to hide the download button.
Optional
withFooter?: booleanWhether to display the footer.
Optional
withTitle?: booleanWhether the dashboard should display a title.
A dashboard component with drill downs, click behaviors, and the ability to view and click into questions.