ant-design/components/date-picker/Calendar.tsx
2016-07-07 20:25:03 +08:00

15 lines
338 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 {
static defaultProps = {
locale: CalendarLocale,
prefixCls: 'ant-calendar',
}
render() {
return <RcCalendar {...this.props} />;
}
}