changes for the antd v5 components

This commit is contained in:
swtmply
2023-04-19 22:04:08 +08:00
parent a2eaa3b376
commit cccb411cde
14 changed files with 91 additions and 93 deletions

View File

@@ -41,7 +41,7 @@ export default function TimeTicketsDatesSelector() {
end ? moment(end) : moment().endOf("week"),
]}
format="MM/DD/YYYY"
ranges={DatePickerRanges}
presets={DatePickerRanges}
onCalendarChange={handleChange}
/>
);