Skip to content

Commit

Permalink
[docs] Fix non-existing "adapter" property of LocalizationProvider (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomashauser authored Jan 7, 2025
1 parent 0f66a53 commit 0a8dff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/overview/DateLibraries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function DateLibraries() {
<HighlightedCode
sx={{ width: '100%', maxWidth: '600px' }}
code={[
`<LocalizationProvider adapter={${dateLibraries[selectedLibrary].adapter}}>`,
`<LocalizationProvider dateAdapter={${dateLibraries[selectedLibrary].adapter}}>`,
` <DatePicker defaultValue={${dateLibraries[selectedLibrary].value}} />`,
`</LocalizationProvider>`,
].join('\n')}
Expand Down

0 comments on commit 0a8dff6

Please sign in to comment.