diff options
author | Eric Bailey <git@esb.lol> | 2025-08-14 09:51:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 09:51:40 -0500 |
commit | 7b2e61bf4dd1e10ade956b2ac091dbb44d41d525 (patch) | |
tree | a29f4b3543bb4846e97af2d4425e311c86826947 /src/components/Toast/index.e2e.tsx | |
parent | 221623f55aa6c1bbe699c8d409832da110923c76 (diff) | |
download | voidsky-7b2e61bf4dd1e10ade956b2ac091dbb44d41d525.tar.zst |
Integrate Sonner for toasts (#8839)
* Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file
Diffstat (limited to 'src/components/Toast/index.e2e.tsx')
-rw-r--r-- | src/components/Toast/index.e2e.tsx | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/components/Toast/index.e2e.tsx b/src/components/Toast/index.e2e.tsx index 64072d88d..357bd8dda 100644 --- a/src/components/Toast/index.e2e.tsx +++ b/src/components/Toast/index.e2e.tsx @@ -1,9 +1,16 @@ -import {type ToastApi} from '#/components/Toast/types' - -export function ToastContainer() { +export function ToastOutlet() { return null } -export const toast: ToastApi = { - show() {}, -} +export const api = () => {} +api.success = () => {} +api.wiggle = () => {} +api.error = () => {} +api.warning = () => {} +api.info = () => {} +api.promise = () => {} +api.custom = () => {} +api.loading = () => {} +api.dismiss = () => {} + +export function show() {} |