Integrate Sonner for toasts (#8839)

* Integrate Sonner for toasts

* Fix animation on iOS

* Refactor API

* Update e2e file
This commit is contained in:
Eric Bailey
2025-08-14 09:51:40 -05:00
committed by GitHub
parent 221623f55a
commit 7b2e61bf4d
12 changed files with 163 additions and 385 deletions
+13 -6
View File
@@ -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() {}