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