|
1
|
"use client" |
|
2
|
|
|
3
|
import { DatePicker } from "@medusajs/ui" |
|
4
|
|
|
5
|
export default function DatePickerWithTime() { |
|
6
|
return ( |
|
7
|
<div className="w-[300px]"> |
|
8
|
<DatePicker |
|
9
|
granularity="minute" |
|
10
|
defaultValue={new Date()} |
|
11
|
aria-label="Select date and time" |
|
12
|
/> |
|
13
|
</div> |
|
14
|
) |
|
15
|
} |