mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #23400 from timc13/patch-1
[reactstrap] add missing ModalProps
This commit is contained in:
Vendored
+1
@@ -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
|
||||
|
||||
|
||||
Vendored
+5
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user