mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
feat: update Toaster component to position notifications at the top-right and enable rich colors
This commit is contained in:
parent
f53e6b3948
commit
8b468e06da
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue