Documentation / @jalali-js/react / CalendarProps
Interface: CalendarProps
Defined in: react/src/Calendar.tsx:11
Properties
className?
optionalclassName?:string
Defined in: react/src/Calendar.tsx:31
initialDisplayedMonth?
optionalinitialDisplayedMonth?:object
Defined in: react/src/Calendar.tsx:20
The year/month the grid opens on. Default: value's month, or today's.
month
month:
number
year
year:
number
locale?
optionallocale?:LocaleCode
Defined in: react/src/Calendar.tsx:15
Which language the month title and weekday headers read in. Default: 'en'.
onSelect?
optionalonSelect?: (date) =>void
Defined in: react/src/Calendar.tsx:18
Parameters
date
Returns
void
quickNav?
optionalquickNav?:boolean
Defined in: react/src/Calendar.tsx:25
Let a person click the month or year in the header to jump straight to a month grid or a year grid, instead of paging one month at a time. Default: true.
rules?
optionalrules?:SelectionRules
Defined in: react/src/Calendar.tsx:30
Limits on what a person can select (see isDateSelectable() in jalali-js). Blocked days render disabled, with a data-disabled attribute, and reject selection.
system?
optionalsystem?:CalendarSystem
Defined in: react/src/Calendar.tsx:13
Which calendar system to display. Default: 'jalali'.
value?
optionalvalue?:CalendarDate|null
Defined in: react/src/Calendar.tsx:17
The selected date, or null for none.