docs: update DatePicker example to remove "time" label as time selection is not supported in this example (#4443)

This commit is contained in:
Praharsh Bhatt 2025-02-05 16:26:16 -05:00 committed by GitHub
parent f2d1f2e84d
commit f386f1f1c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ export default function App() {
<h3>Min date</h3>
<DatePicker
defaultValue={today(getLocalTimeZone()).subtract({days: 1})}
label="Date and time"
label="Date"
minValue={today(getLocalTimeZone())}
/>
</div>
@ -16,7 +16,7 @@ export default function App() {
<h3>Max date</h3>
<DatePicker
defaultValue={today(getLocalTimeZone()).add({days: 1})}
label="Date and time"
label="Date"
maxValue={today(getLocalTimeZone())}
/>
</div>