Function toDashboardProps
toDashboardProps(
dashboardModel):DashboardProps
Translates DashboardModel to DashboardProps.
Narrative widgets are handed the dashboard's oid as their dashboardId.
Parameters
| Parameter | Type | Description |
|---|---|---|
dashboardModel | DashboardModel | The dashboard model to translate. |
Returns
Props for the Dashboard component.
Example
<Dashboard {...dashboardModelTranslator.toDashboardProps(dashboardModel)} />