# Function toPivotTableWidgetProps
toPivotTableWidgetProps(
widgetModel
):PivotTableWidgetProps
Translates a WidgetModel to the props for rendering a pivot table widget.
# Parameters
Parameter | Type |
---|---|
widgetModel | WidgetModel |
# Returns
# Example
<PivotTableWidget {...widgetModelTranslator.toPivotTableWidgetProps(widgetModel)} />
Note: this method is not supported for chart or table widgets.
Use toChartWidgetProps instead for getting props for the <ChartWidget>
component.