Skip to contentSkip to content

PivotPanelTrigger API

API reference docs for the React PivotPanelTrigger component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { PivotPanelTrigger } from '@mui/x-data-grid-premium/components';
// or
import { PivotPanelTrigger } from '@mui/x-data-grid-premium';

Learn about the difference by reading this guide on minimizing bundle size.



A button that opens and closes the pivot panel. It renders the baseButton slot.

Props

A function to customize rendering of the component.

Type:func
| string


If true, the button is disabled.

Type:bool


The id of the button element.

Type:string


A function to customize rendering of the component.

Type:element
| func


The ARIA role of the button element.

Type:string


The size of the button.

Type:'large'
| 'medium'
| 'small'


Element placed before the children.

Type:node


The tabIndex of the button element.

Type:number


The title of the button element.

Type:string


The ref is forwarded to the root element.

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.