Skip to content

Commit

Permalink
fix(types): onHide is optional (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense authored Apr 20, 2020
1 parent 485af82 commit bdc10d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface ModalProps extends TransitionCallbacks {
show?: boolean;
container?: DOMContainer;
onShow?: () => void;
onHide: () => void;
onHide?: () => void;
manager?: ModalManager;
backdrop?: true | false | 'static';

Expand Down

0 comments on commit bdc10d1

Please sign in to comment.