'use client';import { css } from '@onbeam/styled-system/css';
import { Toaster } from 'sonner';
import { createPortal } from 'react-dom';
import { useIsMounted } from '@onbeam/utils';
import { jsx } from 'react/jsx-runtime';

var t=({toastOptions:r={},...s})=>useIsMounted()?createPortal(jsx(Toaster,{position:"bottom-right",offset:8,gap:8,className:css({pointerEvents:"auto"}),toastOptions:{duration:7e3,unstyled:!0,className:css({w:"full"}),...r},...s}),document.body):null;t.displayName="Toaster";

export { t as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-DMD6DOA2.js.map