ToolbarButton API
API reference docs for the React ToolbarButton component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { ToolbarButton } from '@mui/x-charts/Toolbar';
// or
import { ToolbarButton } from '@mui/x-charts';
// or
import { ToolbarButton } from '@mui/x-charts-pro/Toolbar';
// or
import { ToolbarButton } from '@mui/x-charts-pro';
// or
import { ToolbarButton } from '@mui/x-charts-premium/Toolbar';
// or
import { ToolbarButton } from '@mui/x-charts-premium';Learn about the difference by reading this guide on minimizing bundle size.
| Name | Type | Description |
|---|---|---|
| disabled | bool | |
| id | string | |
| render | ref | A function to customize the rendering of the component. |
| size | 'large' | 'medium' | 'small' | |
| style | CSSProperties | |
| tabIndex | number |
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.