mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
[React-notify-toast] Add options typings (#29834)
* Add options typings * fix option typings * Fix semicolon
This commit is contained in:
committed by
Sheetal Nandi
parent
110a81945a
commit
724810601f
Vendored
+10
-1
@@ -23,8 +23,17 @@ declare class reactNotifyToast {
|
||||
createShowQueue(): reactNotifyToast;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
wrapperId?: string;
|
||||
animationDuration?: number;
|
||||
timeout?: number;
|
||||
zIndex?: number;
|
||||
top?: number | string;
|
||||
colors?: any;
|
||||
}
|
||||
|
||||
interface NotificationProps {
|
||||
options: any;
|
||||
options?: Options;
|
||||
}
|
||||
|
||||
export class Notification extends React.Component<NotificationProps, any> {}
|
||||
|
||||
Reference in New Issue
Block a user