ant-design/components/date-picker/Calendar.tsx
Benjy Cui 3411765ce9 Refactor ts (#2760)
* refactor: add interface form Calendar

* refactor: add interface for layout

* refactor: add interface for DatePicker

* refactor: add interface for Icon

* refactor: add interface for InputNumber

* refactor: add interface for Input
2016-08-19 17:11:06 +08:00

15 lines
349 B
TypeScript

import * as React from 'react';
import CalendarLocale from 'rc-calendar/lib/locale/zh_CN';
import RcCalendar from 'rc-calendar';
export default class Calendar extends React.Component<any, any> {
static defaultProps = {
locale: CalendarLocale,
prefixCls: 'ant-calendar',
};
render() {
return <RcCalendar {...this.props} />;
}
}