about summary refs log tree commit diff
path: root/src/components/Toast/index.e2e.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-08-26 16:54:43 -0500
committerGitHub <noreply@github.com>2025-08-26 16:54:43 -0500
commit9f7c920346f3e650f530930cd22ca241fc6cbd7f (patch)
tree8b93e3b299030379d2af425cd825196199fffe7f /src/components/Toast/index.e2e.tsx
parent0555d3623cf5eea744bd26b4343c60ec66e43aa3 (diff)
downloadvoidsky-9f7c920346f3e650f530930cd22ca241fc6cbd7f.tar.zst
Fix toast type (#8909)
* Fix confusing toast API

* Provide all exports to e2e file

* Fix first usage in Composer

* Loosen type, add Trans tag
Diffstat (limited to 'src/components/Toast/index.e2e.tsx')
-rw-r--r--src/components/Toast/index.e2e.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/Toast/index.e2e.tsx b/src/components/Toast/index.e2e.tsx
index 357bd8dda..a4056323d 100644
--- a/src/components/Toast/index.e2e.tsx
+++ b/src/components/Toast/index.e2e.tsx
@@ -1,3 +1,11 @@
+export const DURATION = 0
+
+export const Action = () => null
+export const Icon = () => null
+export const Outer = () => null
+export const Text = () => null
+export const ToastConfigProvider = () => null
+
 export function ToastOutlet() {
   return null
 }