feat: add set gain

This commit is contained in:
2026-07-22 18:17:36 +02:00
parent c2b67d8bb2
commit 9e3f3803a6
41 changed files with 3863 additions and 869 deletions

View File

@ -0,0 +1,31 @@
import type { Notification } from '../types/types';
type Props = {
notifications: Notification[];
onRemove: (id: number) => void;
};
export default function Notifications({ notifications, onRemove }: Props) {
return (
<div className="notifications">
{notifications.map((n) => (
<div
key={n.id}
className={`notification ${n.type} ${n.removing ? 'notification-out' : ''}`}
>
<span className="notification-message" title={n.message}>
{n.message}
</span>
<button
className="tab-close notification-close"
onClick={() => onRemove(n.id)}
aria-label="Dismiss notification"
>
×
</button>
</div>
))}
</div>
);
}