InsightBodyComponentProvider
Home > @gooddata/sdk-ui-dashboard > IDashboardCustomComponentProps > InsightBodyComponentProvider
IDashboardCustomComponentProps.InsightBodyComponentProvider property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specify function to obtain custom component to use for rendering an insight body (i.e. the insight itself) in the DefaultDashboardInsight.
Signature:
InsightBodyComponentProvider?: OptionalInsightBodyComponentProvider;
Remarks
- If not provided, the default implementation DefaultInsightBody will be used. - If factory function is provided and it returns undefined, then the default implementation DefaultInsightBody will be used. This is useful if you want to customize just one particular insight and keep default rendering for the other insights.