Skip to content

Commit

Permalink
[docs] Fix Pickers theme augmentation example (@LukasTy) (#15675)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com>
  • Loading branch information
github-actions[bot] and LukasTy authored Nov 29, 2024
1 parent e38e018 commit f1e41fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/data/date-pickers/base-concepts/base-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,14 @@ import type {} from '@mui/x-date-pickers-pro/themeAugmentation';
const theme = createTheme({
components: {
MuiDatePicker: {
defaultProps: {
displayWeekNumber: true,
},
},
MuiDateRangeCalendar: {
styleOverrides: {
root: {
backgroundColor: 'red',
backgroundColor: '#f0f0f0',
},
},
},
Expand Down

0 comments on commit f1e41fc

Please sign in to comment.