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 aaf5a1c commit 8935ad3Copy full SHA for 8935ad3
src/Toast.tsx
@@ -66,7 +66,7 @@ function removeOldRef(oldRef: ToastRef | null) {
66
refs = refs.filter((r) => r.current !== oldRef);
67
}
68
69
-export function Toast(props: ToastProps) {
+export function Toast(props: ToastProps): React.ReactElement {
70
const toastRef = React.useRef<ToastRef | null>(null);
71
72
/*
0 commit comments