// Adapted from shadcn/ui, MIT (98a1fe67). See THIRD_PARTY_NOTICES.md. "use client"; import { CircleCheckIcon, InfoIcon, Loader2Icon, OctagonXIcon, TriangleAlertIcon, } from "./_ynrlib/lucide.js"; import { Toaster as Sonner, type ToasterProps } from "./_ynrlib/sonner.js"; export const Toaster = ({ ...props }: ToasterProps) => { const theme = props.theme ?? "system"; return ( , info: , warning: , error: , loading: , }} style={ { "--normal-bg": "var(--popover)", "--normal-text": "var(--popover-foreground)", "--normal-border": "var(--border)", "--border-radius": "var(--radius)", } as React.CSSProperties } {...props} /> ); }; export { toast } from "./_ynrlib/sonner.js";