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

15 lines
333 B
TypeScript
Raw Normal View History

2016-03-30 09:41:18 +08:00
import 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} />;
}
}