From 0f88a0e41e3f5b6a35d65d43fc13758cf84bd623 Mon Sep 17 00:00:00 2001 From: Dima Livshits Date: Mon, 11 Sep 2017 17:17:18 +0300 Subject: [PATCH] add className prop and make manager prop optional --- types/react-overlays/lib/Modal.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/react-overlays/lib/Modal.d.ts b/types/react-overlays/lib/Modal.d.ts index c89c607e76..13a397f3b5 100644 --- a/types/react-overlays/lib/Modal.d.ts +++ b/types/react-overlays/lib/Modal.d.ts @@ -10,6 +10,8 @@ declare namespace Modal { } export = Modal; interface ModalProps extends TransitionCallbacks, PortalProps { + className?: string; + /** * Set the visibility of the Modal */ @@ -122,5 +124,5 @@ interface ModalProps extends TransitionCallbacks, PortalProps { * A ModalManager instance used to track and manage the state of open * Modals. Useful when customizing how modals interact within a container */ - manager: ModalManager; + manager?: ModalManager; }