Adaptable

WidgetState

Declared in src/modules/dashboard/SystemWidgets.ts

#Definition

{
  [K in WidgetIdType]: {
    // Each Widgets instance is mandatory to have an id
    id: string;
    type: K;
    value?: ComponentProps<WidgetComponent[K]>['value'];
    align?: WidgetAlign;
  };
}[WidgetIdType]

#Properties

4 props

#alignWidgetAlign

#idrequiredstring

#typerequiredK

#valueComponentProps<WidgetComponent[K]>['value']

resolves to ComponentProps<WidgetComponent[K]>["value"]

#Used by