# Function toPivotTableProps

toPivotTableProps(widgetModel): PivotTableProps

Translates a WidgetModel to the props for rendering a pivot table.

# Parameters

Parameter Type
widgetModel WidgetModel

# Returns

PivotTableProps

# Example

<PivotTable {...widgetModelTranslator.toPivotTableProps(widgetModel)} />

Note: this method is not supported for chart or table widgets. Use toChartProps instead for getting props for the <Chart> component. Use toTableProps instead for getting props for the <Table> component.