InsightComponentProvider
Home > @gooddata/sdk-ui-dashboard > IDashboardCustomComponentProps > InsightComponentProvider
IDashboardCustomComponentProps.InsightComponentProvider property
Specify function to obtain custom component to use for rendering an insight.
Signature:
InsightComponentProvider?: OptionalInsightComponentProvider;
Remarks
- If not provided, the default implementation DefaultDashboardInsight will be used. - If factory function is provided and it returns undefined, then the default implementation DefaultDashboardInsight will be used. This is useful if you want to customize just one particular insight and keep default rendering for the other insights.