mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
15 lines
333 B
React
15 lines
333 B
React
|
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} />;
|
||
|
}
|
||
|
}
|