sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function toDashboardProps

toDashboardProps(dashboardModel): DashboardProps

Translates DashboardModel to DashboardProps.

Narrative widgets are handed the dashboard's oid as their dashboardId.

Parameters

ParameterTypeDescription
dashboardModelDashboardModelThe dashboard model to translate.

Returns

DashboardProps

Props for the Dashboard component.

Example

<Dashboard {...dashboardModelTranslator.toDashboardProps(dashboardModel)} />
Last Updated: