Question on behalf of @jeanpierre-golden-knoll:
Hi, sorry I have another issue with the upgrade ^^"
previously we where using the DefaultHeading and the additionalControls property to add a component we made (a close button). The attribute doesn’t seem to exist anymore in the Heading
function createCustomWidgetFactory(activityId: string): Partial<Factory> {
return {
Heading(props: Heading.PropsType) {
const DefaultHeading = Factory.defaultInstance.Heading;
return <DefaultHeading {...props} additionalControls={<CloseButton activityId={activityId} />} />;
},
};
What is the proper way to update the Heading in the widget map ?