Skip to content

Commit 0c168a1

Browse files
[docs] Fix non-existing "adapter" property of LocalizationProvider (@tomashauser) (#16088)
Co-authored-by: tomashauser <[email protected]>
1 parent 4189b60 commit 0c168a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/modules/components/overview/DateLibraries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default function DateLibraries() {
101101
<HighlightedCode
102102
sx={{ width: '100%', maxWidth: '600px' }}
103103
code={[
104-
`<LocalizationProvider adapter={${dateLibraries[selectedLibrary].adapter}}>`,
104+
`<LocalizationProvider dateAdapter={${dateLibraries[selectedLibrary].adapter}}>`,
105105
` <DatePicker defaultValue={${dateLibraries[selectedLibrary].value}} />`,
106106
`</LocalizationProvider>`,
107107
].join('\n')}

0 commit comments

Comments
 (0)