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