[pickers] Use components slots on every component #4466
Labels
component: pickers
This is the name of the generic UI component, not the React module!
dx
Related to developers' experience
new feature
New feature or request
umbrella
For grouping multiple issues to provide a holistic view
v6.x
Intended behavior
props.XXXComponent
andprops.XXXProps
by slotscomponentsProps
slot matching thecomponents
slotuseSlotProps
andSlotComponentProps
for every slotRelated issues
Components
I grouped the slots, we can do one PR per group.
You can take example on #5890 which clean the slots for the
PickerArrowSwitcher
componentSlots of
PickerArrowSwitcher
(#5890)Slots
LeftArrowButton
,RightArrowButton
,LeftArrowIcon
,RightArrowIcon
props.XXXComponent
andprops.XXXProps
by slotscomponentsProps
slot matching thecomponents
slotuseSlotProps
andSlotComponentProps
for every slotSlots of
PickersCalendarHeaderSlotsComponent
(#6943)Slots:
SwitchViewButton
,SwitchViewIcon
props.XXXComponent
andprops.XXXProps
by slotscomponentsProps
slot matching thecomponents
slot (missingswitchViewIcon
)useSlotProps
andSlotComponentProps
for every slotSlots of
PureDateInput
/KeyboardDateInput
Slots:
OpenPickerIcon
,InputAdornment
(currentprops.InputAdornmentProps
),OpenPickerButton
(currentprops.OpenPickerButtonProps
),Input
(currentprops.InputProps
)REMOVED ON V6
Slots of
PickersViewLayout
(#6381)Slots:
Paper
(currentprops.PaperProps
),Popper
(currentprops.PopperProps
),Transition
(currentprops.TransitionComponent
),PaperContent
,ActionBar
,TrapFocus
(currentprops.TrapFocusProps
),Dialog
(currentprops.DialogProps
),Tabs
andToolbar
(currentprops.ToolbarComponent
)props.XXXComponent
andprops.XXXProps
by slotscomponentsProps
slot matching thecomponents
slotuseSlotProps
andSlotComponentProps
for every slotThe text was updated successfully, but these errors were encountered: