diff --git a/src/shadcn/ui/sonner.tsx b/src/shadcn/ui/sonner.tsx index 73ce4b0..3596a80 100644 --- a/src/shadcn/ui/sonner.tsx +++ b/src/shadcn/ui/sonner.tsx @@ -5,7 +5,7 @@ import { Toaster as Sonner, toast} from "sonner" type ToasterProps = React.ComponentProps -const Toaster = ({ ...props }: ToasterProps) => { +export const Toaster = ({ ...props }: ToasterProps) => { const { theme = "system" } = useTheme() return ( @@ -27,5 +27,3 @@ const Toaster = ({ ...props }: ToasterProps) => { /> ) } - -export const sonner = {Toaster, toast }