Adjust existing property (confirmOptions)

This commit is contained in:
Artjoms Stukans
2017-06-29 19:19:43 +03:00
parent 1ff2442506
commit 5552d5d76b

View File

@@ -22,14 +22,14 @@ 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,
confirmOptions?: ConfirmOptions,
preventDuplicates?: boolean,
transitionIn?: 'bounceIn' | 'bounceInDown' | 'fadeIn',
transitionOut?: 'bounceOut' | 'bounceOutUp' | 'fadeOut',
progressBar?: boolean,
}
interface ConfirmText {
interface ConfirmOptions {
okText: string,
cancelText: string
}