Skip to content

Commit

Permalink
added onAmPmChange to type definition file
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnesmit committed Oct 25, 2019
1 parent 5592fab commit 74d1b7f
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 @@ -25,6 +25,7 @@ declare module "rc-time-picker" {
use12Hours?: boolean;
hideDisabledOptions?: boolean;
onChange?: (newValue: Moment) => void;
onAmPmChange?: (ampm: 'PM' | 'AM') => void;
addon?: (instance: typeof Panel) => React.ReactNode;
placement?: string;
transitionName?: string;
Expand Down

0 comments on commit 74d1b7f

Please sign in to comment.