Repository URL to install this package:
|
Version:
0.14.1 ▾
|
import { ReactNode } from 'react'
export interface DateConstructor {
new(): Date
}
export interface CalendarRenderProp extends Function {
(props: CalendarProps, state?: CalendarState): ReactNode
}
export interface CalendarProps {
className?: string
children?: ReactNode
state?: CalendarState
onChange?: Event
dateFormat?: string
align?: string
pickerLabel?: string
isShowCalendar?: boolean
isPicker?: boolean
isDatePickerLabel?: boolean
renderWrapper?: CalendarRenderProp
}
export interface CalendarState {
dateItem?: DateConstructor
isShowCalendar?: boolean
dateView(props: CalendarProps, isPicker?: boolean, dateFormat?: string): void
calendarView(props: CalendarProps): void
}