Skip to main content

Interface: WidgetConfigurationScreenProps

Properties

widgetInfo

widgetInfo: WidgetInfo

Information about the widget being configured.


renderWidget

renderWidget: (widgetComponent: Element) => void

Function that can be called with the Widget JSX to render

Type declaration

▸ (widgetComponent): void

Function that can be called with the Widget JSX to render

Parameters
NameType
widgetComponentElement
Returns

void


setResult

setResult: (result: "ok" | "cancel") => void

This must be called after finishing with configuration. 'ok' means the widget is configured and can be added, 'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it

Type declaration

▸ (result): void

This must be called after finishing with configuration. 'ok' means the widget is configured and can be added, 'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it

Parameters
NameType
result"ok" | "cancel"
Returns

void