feat: update Toaster component to position notifications at the top-right and enable rich colors

This commit is contained in:
Anish Sarkar 2026-03-10 19:52:13 +05:30
parent f53e6b3948
commit 8b468e06da

View file

@ -10,6 +10,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
<Sonner <Sonner
theme={theme as ToasterProps["theme"]} theme={theme as ToasterProps["theme"]}
className="toaster group" className="toaster group"
position="top-right"
richColors
toastOptions={{ toastOptions={{
classNames: { classNames: {
toast: toast: