Skip to contentSkip to content

PickersActionBar API

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

Demos

Import

import { PickersActionBar } from '@mui/x-date-pickers/PickersActionBar';
// or
import { PickersActionBar } from '@mui/x-date-pickers';
// or
import { PickersActionBar } from '@mui/x-date-pickers-pro';

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

Props

NameTypeDefaultDescription
actionsArray<'accept'
| 'cancel'
| 'clear'
| 'next'
| 'nextOrAccept'
| 'today'>
- `[]` for Pickers with one selection step which `closeOnSelect`. - `['cancel', 'nextOrAccept']` for all other Pickers.

Ordered array of actions to display. If empty, does not display that action bar.

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.