Skip to content

Commit

Permalink
Fixed #1750 - Change the type of locale property on Calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jan 11, 2021
1 parent 73a3f25 commit 5568e45
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/components/calendar/Calendar.d.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
import * as React from 'react';
import TooltipOptions from '../tooltip/TooltipOptions';

export interface LocaleSettings {
firstDayOfWeek?: number;
dayNames: string[];
dayNamesShort: string[];
dayNamesMin: string[];
monthNames: string[];
monthNamesShort: string[];
today: string;
clear: string;
}

export interface DateMetaData {
day: number;
month: number;
Expand Down Expand Up @@ -57,7 +45,7 @@ interface CalendarProps {
shortYearCutoff?: string;
hideOnDateTimeSelect?: boolean;
showWeek?: boolean;
locale?: LocaleSettings;
locale?: string;
dateFormat?: string;
panelStyle?: object;
panelClassName?: string;
Expand Down

0 comments on commit 5568e45

Please sign in to comment.