@@ -0,0 +1,18 @@
1+"use client";
2+
3+import ErrorIcon from "@/src/components/icons/ErrorIcon";
4+
5+type ErrorNotificationProps = {
6+ message: string;
7+};
8+
9+export default function ErrorNotification({ message }: ErrorNotificationProps) {
10+ return (
11+ <div className="pointer-events-auto mb-2 flex w-fit items-center gap-2 rounded-lg bg-neutral-300/80 px-3 py-1 dark:bg-neutral-800/80">
12+ <ErrorIcon className="h-4 w-4 text-red-600 dark:text-red-400" />
13+ <span className="text-xs text-neutral-600 dark:text-neutral-400">{message}</span>
14+ </div>
15+ );
16+}
17+
18+