ChartsToolbarPrintExportTrigger API
API reference docs for the React ChartsToolbarPrintExportTrigger component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { ChartsToolbarPrintExportTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarPrintExportTrigger } from '@mui/x-charts-pro';Learn about the difference by reading this guide on minimizing bundle size.
A button that triggers a print export.
It renders the baseButton slot.
| Name | Type | Description |
|---|---|---|
| disabled | bool | If |
| id | string | The id of the button element. |
| options | { copyStyles?: bool, fileName?: string, nonce?: string, onBeforeExport?: func, onStylesheetError?: func } | The options to apply on the Print export. |
| render | element | func | A function to customize the rendering of the component. |
| size | 'large' | 'medium' | 'small' | The size of the button. |
| tabIndex | number | The |
The component cannot hold a ref.
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.