ant-design/components/date-picker/Calendar.tsx

15 lines
339 B
TypeScript
Raw Normal View History

2016-07-07 20:25:03 +08:00
import * as React from 'react';
2016-03-30 09:41:18 +08:00
import CalendarLocale from 'rc-calendar/lib/locale/zh_CN';
import RcCalendar from 'rc-calendar';
export default class Calendar extends React.Component {
static defaultProps = {
locale: CalendarLocale,
prefixCls: 'ant-calendar',
2016-07-13 11:14:24 +08:00
};
2016-03-30 09:41:18 +08:00
render() {
return <RcCalendar {...this.props} />;
}
}