mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
0afdbe4d4a
* exporting common types * no use importype * fix test * try fix test * Update components/index.tsx Co-authored-by: 偏右 <afc163@gmail.com> * remove typo * fix test Co-authored-by: 偏右 <afc163@gmail.com>
9 lines
287 B
TypeScript
9 lines
287 B
TypeScript
import { 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;
|