Skip to content

Commit

Permalink
Fix onChange event. Date param was missing in the index.d.ts file. (#282
Browse files Browse the repository at this point in the history
)

* Fix

* now is a number

---------

Co-authored-by: Manoj Sethi <manojsethi@live.in>
  • Loading branch information
manojsethi and Manoj Sethi authored Aug 17, 2023
1 parent 327bb53 commit af7aa57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface Props {
readonly format?: string;
readonly interval?: number;
readonly locale?: string;
readonly onChange?: () => void;
readonly onChange?: (date: number) => void;
readonly onReady?: () => void;
readonly style?: React.CSSProperties;
readonly ticking?: boolean;
Expand Down

0 comments on commit af7aa57

Please sign in to comment.