Skip to content

Commit

Permalink
Merge pull request #156 from ITPNYU/hotfix/calendar_ui
Browse files Browse the repository at this point in the history
Fix calendar ui view
  • Loading branch information
rlho authored Apr 4, 2024
2 parents c863f9d + 4cbfb56 commit b191c3b
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const CalendarDatePicker = ({ handleChange }) => {
title: 'Date',
autoHide: true,
todayBtn: true,
clearBtn: true,
clearBtn: false,
maxDate: new Date('2030-01-01'),
minDate: new Date('1950-01-01'),
theme: {
Expand All @@ -20,11 +20,6 @@ export const CalendarDatePicker = ({ handleChange }) => {
inputIcon: '',
selected: '',
},
icons: {
// () => ReactElement | JSX.Element
prev: () => <span>Previous</span>,
next: () => <span>Next</span>,
},
datepickerClassNames: 'top-12',
defaultDate: new Date(),
language: 'en',
Expand Down

0 comments on commit b191c3b

Please sign in to comment.