mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-27 02:18:34 +08:00
3411765ce9
* refactor: add interface form Calendar * refactor: add interface for layout * refactor: add interface for DatePicker * refactor: add interface for Icon * refactor: add interface for InputNumber * refactor: add interface for Input
15 lines
349 B
TypeScript
15 lines
349 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<any, any> {
|
|
static defaultProps = {
|
|
locale: CalendarLocale,
|
|
prefixCls: 'ant-calendar',
|
|
};
|
|
|
|
render() {
|
|
return <RcCalendar {...this.props} />;
|
|
}
|
|
}
|