import type { CSSProperties } from "react"; import { Toaster as Sonner, type ToasterProps } from "sonner"; export const GLOBAL_TOAST_DURATION_MS = 4000; /** * One feedback contract for every runtime surface. * * Feature code may still choose a longer duration for a message that genuinely * needs reading time, but it must not move individual toasts around the screen. * The notification centre's live notification cards are a separate shell * surface and deliberately remain top-right. */ const Toaster = ({ style, position = "top-center", duration = GLOBAL_TOAST_DURATION_MS, toastOptions, ...props }: ToasterProps) => { return ( ); }; export { Toaster };