WidgetContent
Interfaces
WidgetContentProps
Defined in: manager/components/WidgetContent.tsx:21
Properties
Property | Type | Description | Defined in |
---|---|---|---|
config | Result <WidgetConfig , string > | The widget configuration or error. | manager/components/WidgetContent.tsx:27 |
index | number | The index of the widget in the collection. | manager/components/WidgetContent.tsx:23 |
setManagerWidgetStates | Dispatch <SetStateAction <Record <string , ManagerWidgetState >>> | Setter for the manager widget states. | manager/components/WidgetContent.tsx:31 |
settings | WidgetSettings | The widget-specific settings. | manager/components/WidgetContent.tsx:29 |
widgetId | string | The widget ID. | manager/components/WidgetContent.tsx:25 |
Functions
default()
default(
__namedParameters
):Element
Defined in: manager/components/WidgetContent.tsx:43
The widget content component.
It is rendered as the content of a tab. It consists of a configuration section WidgetContentConfigList and a setting section WidgetContentSettingsList.
Parameters
Parameter | Type |
---|---|
__namedParameters | WidgetContentProps |
Returns
Element