Add missing properties for ToastrOptions

This commit is contained in:
Artjoms Stukans
2017-06-29 17:40:13 +03:00
parent c126a9ec44
commit 1ff2442506
+6 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for react-redux-toastr 3.7.0
// Project: https://github.com/diegoddox/react-redux-toastr
// Definitions by: Aleksandar Ivanov <https://github.com/Smiche>
// Artyom Stukans <https://github.com/artyomsv>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -21,7 +22,11 @@ declare module "react-redux-toastr" {
* Position of the toastr: top-left, top-center, top-right, bottom-left, bottom-center and bottom-right
*/
position?: string,
confirmText?: ConfirmText
confirmText?: ConfirmText,
preventDuplicates?: boolean,
transitionIn?: 'bounceIn' | 'bounceInDown' | 'fadeIn',
transitionOut?: 'bounceOut' | 'bounceOutUp' | 'fadeOut',
progressBar?: boolean,
}
interface ConfirmText {