Files
bsky-social-app/src/components/Toast/index.e2e.tsx
T
Eric Bailey 9f7c920346 Fix toast type (#8909)
* Fix confusing toast API

* Provide all exports to e2e file

* Fix first usage in Composer

* Loosen type, add Trans tag
2025-08-26 16:54:43 -05:00

25 lines
505 B
TypeScript

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
}
export const api = () => {}
api.success = () => {}
api.wiggle = () => {}
api.error = () => {}
api.warning = () => {}
api.info = () => {}
api.promise = () => {}
api.custom = () => {}
api.loading = () => {}
api.dismiss = () => {}
export function show() {}