style: sonner position
This commit is contained in:
parent
a4f2273e25
commit
74d45a7913
|
|
@ -12,6 +12,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
|
|||
<Sonner
|
||||
theme={theme as ToasterProps["theme"]}
|
||||
className="toaster group"
|
||||
position="top-center"
|
||||
offset={20}
|
||||
toastOptions={{
|
||||
classNames: {
|
||||
toast:
|
||||
|
|
@ -23,6 +25,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
|
|||
"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
|
||||
},
|
||||
}}
|
||||
expand={false}
|
||||
richColors
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue