Skip to main content

WidgetTrigger

Interfaces

WidgetTriggerProps

Properties

PropertyTypeDescriptionDefined in
configResult<WidgetConfig, string>The widget configuration or error.manager/components/WidgetTrigger.tsx:8
indexnumberThe index of the widget in the collection.manager/components/WidgetTrigger.tsx:6

Functions

default()

default(__namedParameters): Element

The widget tab trigger component.

It will be rendered as a trigger in the tab list. If the configuration is valid, it will display the widget name with a green indicator. Otherwise, it will display an error badge with a red indicator.

Parameters

ParameterType
__namedParametersWidgetTriggerProps

Returns

Element

Defined in

manager/components/WidgetTrigger.tsx:18