From c3ddced65821d58cf3024b53247811da506b6cdf Mon Sep 17 00:00:00 2001 From: Jason Quense Date: Mon, 20 Apr 2020 10:33:07 -0400 Subject: [PATCH] fix(types): onHide is optional --- src/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modal.tsx b/src/Modal.tsx index 9aab2bb6..a76d216e 100644 --- a/src/Modal.tsx +++ b/src/Modal.tsx @@ -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';