mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +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;
|