Skip to content

Commit

Permalink
Merge pull request #107 from same31/navigation-label-type
Browse files Browse the repository at this point in the history
Adds navigationLabel prop in index.d.ts
  • Loading branch information
wojtekmaj authored Aug 24, 2018
2 parents f8d173c + 4c1ed7f commit 2bb086a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ declare module "react-calendar" {
maxDetail?: Detail;
minDate?: Date;
minDetail?: Detail;
navigationLabel?: ({date: Date, view: Detail, label: string}) => string | JSX.Element | null;
next2Label?: string | JSX.Element | null;
nextLabel?: string | JSX.Element;
onActiveDateChange?: ViewCallback;
Expand Down

0 comments on commit 2bb086a

Please sign in to comment.