From 7b2e61bf4dd1e10ade956b2ac091dbb44d41d525 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 14 Aug 2025 09:51:40 -0500 Subject: Integrate Sonner for toasts (#8839) * Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file --- src/components/Toast/index.e2e.tsx | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/components/Toast/index.e2e.tsx') 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() {} -- cgit 1.4.1