///
import * as React from "react";
interface HTMLAttributesWeak extends React.HTMLAttributes {
onChange?: any;
}
export interface CalendarProps extends HTMLAttributesWeak {
/**
* 样式品牌前缀
*/
prefix?: string;
/**
* 基准日期
*/
base?: any;
/**
* 选中的日期值
*/
value?: any;
/**
* 面板选择模式
*/
mode?: "month" | "year" | "decade";
/**
* 类型
*/
type?: "fullscreen" | "card";
/**
* 日期改变时的回调
*/
onChange?: (calendarDate: {}) => void;
/**
* 自定义样式类
*/
className?: string;
/**
* 自定义日期渲染函数
*/
dateCellRender?: (calendarDate: {}) => () => void;
/**
* 自定义月份渲染函数
*/
monthCellRender?: (calendarDate: {}) => () => void;
/**
* 自定义年份渲染函数
*/
yearCellRender?: (calendarDate: {}) => () => void;
/**
* 不可选择的日期
*/
disabledDate?: (calendarDate: {}) => boolean;
/**
* 不可选择的月份
*/
disabledMonth?: (calendarDate: {}) => boolean;
/**
* 不可选择的年份
*/
disabledYear?: (calendarDate: {}) => boolean;
/**
* 多语言选择
*/
language?:
| "en-us"
| "ar"
| "de"
| "es"
| "fr"
| "hi"
| "it"
| "ja"
| "ko"
| "pt"
| "ru"
| "zh-cn"
| "zh-hk"
| "zh-tw";
/**
* 国际化配置
*/
locale?: {};
}
export default class Calendar extends React.Component {}