Merge pull request #19673 from dimonka83/modal-props-fix

[react-overlays] Modal: add className prop and make manager prop optional
This commit is contained in:
Benjamin Lichtman
2017-09-19 14:51:45 -07:00
committed by GitHub

View File

@@ -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;
}