From c9e511143d1b4a1f496f1e8a201806e76f98f737 Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Sat, 3 Feb 2018 18:33:13 -0500 Subject: [PATCH 1/2] add missing ModalProps --- types/reactstrap/lib/Modal.d.ts | 5 +++++ 1 file changed, 5 insertions(+) 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; From 11b262328140691d26c8e6f0b1964f8da3cadcd2 Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Sat, 3 Feb 2018 18:47:26 -0500 Subject: [PATCH 2/2] add myself to contributors --- types/reactstrap/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index 38c55bc08a..0c1c8d134a 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