diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index 73b456783a..777f877cad 100644 --- a/types/reactstrap/index.d.ts +++ b/types/reactstrap/index.d.ts @@ -7,6 +7,7 @@ // FaithForHumans // Kurt Preston // Kræn Hansen +// Tim Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/reactstrap/lib/Modal.d.ts b/types/reactstrap/lib/Modal.d.ts index 5fc1ffc734..6db7207e9f 100644 --- a/types/reactstrap/lib/Modal.d.ts +++ b/types/reactstrap/lib/Modal.d.ts @@ -1,4 +1,5 @@ import { CSSModule } from '../index'; +import { FadeProps } from './Fade'; export interface ModalProps { isOpen?: boolean; @@ -9,6 +10,8 @@ export interface ModalProps { backdrop?: boolean | 'static'; onEnter?: () => void; onExit?: () => void; + onOpened?: () => void; + onClosed?: () => void; className?: string; cssModule?: CSSModule; wrapClassName?: string; @@ -17,6 +20,8 @@ export interface ModalProps { contentClassName?: string; zIndex?: number | string; fade?: boolean; + backdropTransition?: FadeProps; + modalTransition?: FadeProps; } declare const Modal: React.StatelessComponent;