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.
16 lines
592 B
16 lines
592 B
/// <reference types="react" />
|
|
import type { GenerateConfig } from '../../generate';
|
|
import type { Locale, NullableDateType } from '../../interface';
|
|
export declare const YEAR_COL_COUNT = 3;
|
|
export declare type YearBodyProps<DateType> = {
|
|
prefixCls: string;
|
|
locale: Locale;
|
|
generateConfig: GenerateConfig<DateType>;
|
|
value?: NullableDateType<DateType>;
|
|
viewDate: DateType;
|
|
disabledDate?: (date: DateType) => boolean;
|
|
onSelect: (value: DateType) => void;
|
|
};
|
|
declare function YearBody<DateType>(props: YearBodyProps<DateType>): JSX.Element;
|
|
export default YearBody;
|