UNPKG

zent

Version:

一套前端设计语言和基于React的实现

12 lines (11 loc) 580 B
/// <reference types="react" /> import { ISingleProps, IShowTime, IDisabledTime, IValueType, ISingleRelatedType } from './types'; export interface IDatePickerProps<T extends IValueType = 'string'> extends Omit<ISingleProps, 'valueType' | 'onChange'>, ISingleRelatedType<T> { showTime?: IShowTime; disabledTime?: IDisabledTime; hideFooter?: boolean; showLunarDate?: boolean; lunarValueFormatter?: (date: Date) => string; } export declare const DatePicker: <T extends IValueType = "string">(props: IDatePickerProps<T>) => JSX.Element; export default DatePicker;