We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a023cc commit 58d77adCopy full SHA for 58d77ad
src/types/index.ts
@@ -10,7 +10,7 @@ import {
10
11
export type ReactChildren = React.ReactNode;
12
13
-export type ToastType = string;
+export type ToastType = 'success' | 'error' | 'info' | (string & {});
14
export type ToastPosition = 'top' | 'bottom';
15
16
export type ToastOptions = {
0 commit comments