interface
Source: layout.ts ↗
IDashboardLayoutItem
Dashboard layout item - usually contains kpi widget, insight widget or another nested layout. Generic TWidget param is here to support type checking with custom widgets (e.g. in Dashboard component).
export interface IDashboardLayoutItem<TWidget = IDashboardWidget>
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
Item size configuration for each of the screen sizes. | |||
“IDashboardLayoutItem” | Unique type to identify dashboard layout item. | ||
TWidget | (Optional) Widget data - kpi widget, insight widget, nested layout or custom widget. |
Property details
IDashboardLayoutItem.sizeproperty
Item size configuration for each of the screen sizes.
size: IDashboardLayoutSizeByScreenSize;
IDashboardLayoutItem.typeproperty
Unique type to identify dashboard layout item.
type: "IDashboardLayoutItem";
IDashboardLayoutItem.widgetproperty
Widget data - kpi widget, insight widget, nested layout or custom widget.
widget?: TWidget;