Skip to content

Commit

Permalink
fix(types): fix type of Overlay's onHide prop (#4857)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsgkirkby authored and jquense committed Nov 24, 2019
1 parent bd82145 commit d616175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/components/Overlay.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface OverlayProps extends TransitionCallbacks {
popperConfig?: object;
rootClose?: boolean;
rootCloseEvent?: 'click' | 'mousedown';
onHide?: () => void;
onHide?: (event: React.SyntheticEvent) => void;
transition?: boolean | React.ElementType;
placement?: Placement;
}
Expand Down

0 comments on commit d616175

Please sign in to comment.