Skip to content

Documentation / @jalali-js/react / UseCalendarOptions

Interface: UseCalendarOptions

Defined in: react/src/use-calendar.ts:12

Properties

initialDate?

optional initialDate?: CalendarDate

Defined in: react/src/use-calendar.ts:18

The initial date. Default: today, in system.


locale?

optional locale?: LocaleCode

Defined in: react/src/use-calendar.ts:16

Which language format() reads. Default: 'en'.


system?

optional system?: CalendarSystem

Defined in: react/src/use-calendar.ts:14

Which calendar system the hook's date is expressed in. Default: 'jalali'.