mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
react-bootstrap: add restoreFocus prop to Modal (#38424)
The `restoreFocus` prop was added to react-bootstrap in this commit from 2017 that was first released in v0.30.8. https://github.com/react-bootstrap/react-bootstrap/commit/bd76a90d4780c834b4620c423e38b40c66a80882
This commit is contained in:
committed by
Michael Crane
parent
6f37606fa1
commit
583149302e
Vendored
+1
@@ -15,6 +15,7 @@
|
||||
// Andrew Makarov <https://github.com/r3nya>
|
||||
// Duong Tran <https://github.com/t49tran>
|
||||
// Erik Zivkovic <https://github.com/bes>
|
||||
// Collin Green <https://github.com/collingreen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
|
||||
Vendored
+1
@@ -26,6 +26,7 @@ declare namespace Modal {
|
||||
dialogComponent?: any; // TODO: Add more specific type
|
||||
dialogTransitionTimeout?: number;
|
||||
enforceFocus?: boolean;
|
||||
restoreFocus?: boolean;
|
||||
keyboard?: boolean;
|
||||
onBackdropClick?: (node: HTMLElement) => any;
|
||||
onEscapeKeyDown?: (node: HTMLElement) => any;
|
||||
|
||||
Reference in New Issue
Block a user