ant-design/components/calendar/index.tsx
Tom Xu 1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00

9 lines
292 B
TypeScript

import type { Moment } from 'moment';
import momentGenerateConfig from 'rc-picker/lib/generate/moment';
import generateCalendar, { CalendarProps } from './generateCalendar';
const Calendar = generateCalendar<Moment>(momentGenerateConfig);
export { CalendarProps };
export default Calendar;