Aurora SpotiRip desktop and web app
- Spotify playlist, library, album and artist browsing with in-app playback - Song, playlist and album downloads via spotdl with YouTube and Bandcamp fallbacks - Electron desktop app (castLabs Widevine) with a permanent sidebar layout - Linux and Windows packaging scripts
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
"use client";
|
||||
|
||||
import { Toaster as Sonner } from "sonner";
|
||||
import styles from "./SonnerToaster.module.css";
|
||||
|
||||
type ToasterProps = React.ComponentProps<typeof Sonner>;
|
||||
|
||||
export const SonnerToaster = ({ className, ...props }: ToasterProps) => {
|
||||
return (
|
||||
<Sonner
|
||||
className={`${styles.toaster} ${className ?? ""}`}
|
||||
toastOptions={{
|
||||
unstyled: true,
|
||||
classNames: {
|
||||
toast: styles.toast,
|
||||
content: styles.content,
|
||||
title: styles.title,
|
||||
actionButton: styles.actionButton,
|
||||
cancelButton: styles.cancelButton,
|
||||
closeButton: styles.closeButton,
|
||||
description: styles.description,
|
||||
icon: styles.icon,
|
||||
},
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user