diff --git a/components/calendar/types/index.d.ts b/components/calendar/types/index.d.ts index 5b1d0bb99..cd9864c57 100644 --- a/components/calendar/types/index.d.ts +++ b/components/calendar/types/index.d.ts @@ -33,6 +33,10 @@ export interface CalendarProps { * the direction of the library - internally the library will use rtl for rtl-languages but this can be overridden here for more control */ dir?: CalendarDir + /** + * the date format + */ + format?: 'YYYY-MM-DD' | 'DD-MM-YYYY' /** * any valid locale - if none provided, the internal library will fallback to the user locale (more info here: https://github.com/dhis2/multi-calendar-dates/blob/main/src/hooks/internal/useResolvedLocaleOptions.ts#L15) */