mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
15 lines
338 B
TypeScript
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} />;
|
|
}
|
|
}
|