PickersSectionList API
API reference docs for the React PickersSectionList component. Learn about the props, CSS, and other APIs of this exported module.
Component demos
Import
import { PickersSectionList } from '@mui/x-date-pickers/PickersSectionList';
// or
import { PickersSectionList } from '@mui/x-date-pickers';
// or
import { PickersSectionList } from '@mui/x-date-pickers-pro';
Name | Type | Default | Description |
---|---|---|---|
contentEditable* | bool | - | If true, the whole element is editable. Useful when all the sections are selected. |
elements* | Array<{ after: object, before: object, container: object, content: object }> | - | The elements to render. Each element contains the prop to edit a section of the value. |
classes | object | - | Override or extend the styles applied to the component. See CSS API below for more details. |
slotProps | object | - | The props used for each component slot. |
slots | object | - | Overridable component slots. See Slots API below for more details. |
The component cannot hold a ref.
Slot name | Class name | Default component | Description |
---|---|---|---|
root | .MuiPickersSectionList-root | ||
section | .MuiPickersSectionList-section | ||
sectionSeparator | |||
sectionContent | .MuiPickersSectionList-sectionContent |