Skip to content

Commit

Permalink
fix(calendar): fix param type of calendar parameter formatValue (#4235)
Browse files Browse the repository at this point in the history
  • Loading branch information
gewoonwoutje committed Feb 5, 2024
1 parent 748f922 commit ac1f205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/calendar/calendar.d.ts
Expand Up @@ -93,7 +93,7 @@ export namespace Calendar {
/** Date ranges you want to add custom CSS class for additional styling. Look below for accepted format. */
rangesClasses?: RangeClass[];
/** Function to format input value, should return new/formatted string value. values is array where each item represents selected date. */
formatValue?: (values: Date) => string;
formatValue?: (values: Date[]) => string;
/** Intl locale string. see https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat */
locale?: string;
/** Array with full month names. (default "auto") */
Expand Down

0 comments on commit ac1f205

Please sign in to comment.