mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
added getState prop for react-redux-toastr 7.6 (#39305)
* added getState prop for react-redux-toastr 7.6 * improved whitespace * fix missing simicolon
This commit is contained in:
parent
d58af468c0
commit
2561381939
5
types/react-redux-toastr/index.d.ts
vendored
5
types/react-redux-toastr/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for react-redux-toastr 7.4
|
||||
// Type definitions for react-redux-toastr 7.6
|
||||
// Project: https://github.com/diegoddox/react-redux-toastr
|
||||
// Definitions by: Aleksandar Ivanov <https://github.com/Smiche>
|
||||
// Artyom Stukans <https://github.com/artyomsv>
|
||||
@ -30,6 +30,7 @@ interface BasicToastrOptions {
|
||||
timeOut?: number;
|
||||
transitionIn?: transitionInType;
|
||||
transitionOut?: transitionOutType;
|
||||
getState?: (state: ToastrState) => ToastrState;
|
||||
}
|
||||
|
||||
interface LightToastrOptions {
|
||||
@ -94,7 +95,7 @@ interface ReduxToastrProps {
|
||||
};
|
||||
newestOnTop?: boolean;
|
||||
options?: any; // This is currently not used, waiting for response from the package author to remove
|
||||
position?: positionType
|
||||
position?: positionType;
|
||||
preventDuplicates?: boolean;
|
||||
progressBar?: boolean;
|
||||
timeOut?: number;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user