mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Merge pull request #21215 from landmarkhw/master
react-redux-toastr: Fix issue #13390 with TypeScript component compatibility
This commit is contained in:
Vendored
+5
-5
@@ -18,8 +18,8 @@ export type transitionOutType = 'bounceOut' | 'bounceOutUp' | 'fadeOut';
|
||||
interface BasicToastrOptions {
|
||||
attention?: boolean;
|
||||
className?: string;
|
||||
component?: Component;
|
||||
icon?: Component;
|
||||
component?: JSX.Element;
|
||||
icon?: JSX.Element;
|
||||
onCloseButtonClick?: () => void;
|
||||
onHideComplete?: () => void;
|
||||
onShowComplete?: () => void;
|
||||
@@ -34,8 +34,8 @@ interface BasicToastrOptions {
|
||||
interface LightToastrOptions {
|
||||
attention?: boolean;
|
||||
className?: string;
|
||||
component?: Component;
|
||||
icon?: iconType | Component;
|
||||
component?: JSX.Element;
|
||||
icon?: iconType | JSX.Element;
|
||||
onCloseButtonClick?: () => void;
|
||||
onHideComplete?: () => void;
|
||||
onShowComplete?: () => void;
|
||||
@@ -55,7 +55,7 @@ interface ConfirmToastrOptions {
|
||||
}
|
||||
|
||||
interface ConfirmToastrCustomOptions {
|
||||
component: Component;
|
||||
component: JSX.Element;
|
||||
}
|
||||
|
||||
export interface Toastr {
|
||||
|
||||
Reference in New Issue
Block a user