You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
333 B
15 lines
333 B
9 years ago
|
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} />;
|
||
|
}
|
||
|
}
|