Merge pull request #23400 from timc13/patch-1

[reactstrap] add missing ModalProps
This commit is contained in:
Daniel Rosenwasser
2018-02-10 10:36:03 -08:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@
// FaithForHumans <https://github.com/FaithForHumans>
// Kurt Preston <https://github.com/KurtPreston>
// Kræn Hansen <https://github.com/kraenhansen>
// Tim Chen <https://github.com/timc13>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
+5
View File
@@ -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<ModalProps>;