✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Type alias WithCommonWidgetProps<BaseWidget, Type>
WithCommonWidgetProps: <
BaseWidget,Type>BaseWidget& {id:string;widgetType:Type; }
A utility type that combines widget-specific properties (BaseWidget)
with a common widget props including corresponding widget type (Type).
#
WithCommonWidgetProps.id
readonlyid:stringUnique identifier of the widget within the container component (dashboard)
#
WithCommonWidgetProps.widgetTypewidgetType:
TypeWidget type
# Type parameters
| Parameter |
|---|
BaseWidget |
Type extends WidgetType |