# Function DashboardWidget
DashboardWidget(
props
,context
?):null
|ReactElement
<any
,any
>
The Dashboard Widget component, which is a thin wrapper on the ChartWidget component, used to render a widget created in the Sisense instance.
# Parameters
Parameter | Type |
---|---|
props | DashboardWidgetProps |
context ? | any |
# Returns
null
| ReactElement
< any
, any
>
# Example
The example below renders a dashboard widget with the specified widget and dashboard OIDs.
<DashboardWidget
widgetOid={'64473e07dac1920034bce77f'}
dashboardOid={'6441e728dac1920034bce737'}
/>