Unverified Commit 30810156 authored by RoccoSmit's avatar RoccoSmit Committed by GitHub

feat: date picker navigation (#4286)

Added month and year dropdowns
parent 2cd524e4
......@@ -445,6 +445,10 @@ const MemoEditor = (props: Props) => {
selected={displayTime}
onChange={(date) => date && setDisplayTime(date)}
showTimeSelect
showMonthDropdown
showYearDropdown
yearDropdownItemNumber={5}
dateFormatCalendar=" "
customInput={<span className="cursor-pointer text-sm text-gray-400 dark:text-gray-500">{displayTime.toLocaleString()}</span>}
calendarClassName="ml-24 sm:ml-44"
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment