WidgetTrigger
Interfaces
WidgetTriggerProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
config | Result <WidgetConfig , string > | The widget configuration or error. | manager/components/WidgetTrigger.tsx:8 |
index | number | The 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
Parameter | Type |
---|---|
__namedParameters | WidgetTriggerProps |
Returns
Element