mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
0a75cfe9e2
* style: use React.createRef replace ref function * style: use React.createRef replace ref function * add useRef * fix * rename
10 lines
329 B
TypeScript
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;
|