Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
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
}