mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
docs: update DatePicker example to remove "time" label as time selection is not supported in this example (#4443)
This commit is contained in:
parent
f2d1f2e84d
commit
f386f1f1c8
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user