ant-design/components/calendar/index.ts
lijianan 0a75cfe9e2
refactoring: use React.createRef replace ref function (#40538)
* style: use React.createRef replace ref function

* style: use React.createRef replace ref function

* add useRef

* fix

* rename
2023-02-05 10:51:51 +08:00

10 lines
329 B
TypeScript

import type { Dayjs } from 'dayjs';
import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs';
import type { CalendarProps } from './generateCalendar';
import generateCalendar from './generateCalendar';
const Calendar = generateCalendar<Dayjs>(dayjsGenerateConfig);
export type { CalendarProps };
export default Calendar;