diff --git a/components/calendar/types/index.d.ts b/components/calendar/types/index.d.ts index 5b1d0bb99..1ba2bc42e 100644 --- a/components/calendar/types/index.d.ts +++ b/components/calendar/types/index.d.ts @@ -58,6 +58,12 @@ export interface CalendarProps { export const Calendar: React.FC export type CalendarInputProps = Omit & - CalendarProps + CalendarProps & { + /** + * Optional format for the date. Determines how the date is displayed + * or processed. If not provided it supports both formats + */ + format?: 'YYYY-MM-DD' | 'DD-MM-YYYY' + } export const CalendarInput: React.FC