Documentation / @jalali-js/ui-react / InlineCalendarProps
Interface: InlineCalendarProps
Defined in: react/src/Calendar.tsx:18
Properties
blockHolidays?
optionalblockHolidays?:boolean
Defined in: react/src/Calendar.tsx:47
Also block holiday days through Phase 16 selection rules. Jalali system only. Uses @jalali-js/holidays.
className?
optionalclassName?:string
Defined in: react/src/Calendar.tsx:53
holidayRegion?
optionalholidayRegion?:HolidayRegion
Defined in: react/src/Calendar.tsx:52
Whose official holiday list to use. Default: 'IR' (Iran). Afghanistan and Tajikistan are planned region codes; they are not shipped yet.
initialDisplayedMonth?
optionalinitialDisplayedMonth?:object
Defined in: react/src/Calendar.tsx:27
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:22
Which language the month title and weekday headers read in. Default: 'en'.
onSelect?
optionalonSelect?: (date) =>void
Defined in: react/src/Calendar.tsx:25
Parameters
date
Returns
void
quickNav?
optionalquickNav?:boolean
Defined in: react/src/Calendar.tsx:32
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:37
Limits on what a person can select (see isDateSelectable() in jalali-js). Blocked days render disabled, with a data-disabled attribute, and reject selection.
showHolidays?
optionalshowHolidays?:boolean
Defined in: react/src/Calendar.tsx:42
Mark official holidays with a data-holiday attribute. Jalali system only. Uses @jalali-js/holidays. Default list is Iran (holidayRegion: 'IR').
system?
optionalsystem?:CalendarSystem
Defined in: react/src/Calendar.tsx:20
Which calendar system to display. Default: 'jalali'.
value?
optionalvalue?:CalendarDate|null
Defined in: react/src/Calendar.tsx:24
The selected date, or null for none.