mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +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;
|