summaryrefslogtreecommitdiff
path: root/frontend/src/components/ErrorBanner.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/ErrorBanner.tsx')
-rw-r--r--frontend/src/components/ErrorBanner.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/components/ErrorBanner.tsx b/frontend/src/components/ErrorBanner.tsx
new file mode 100644
index 0000000..fdb3bf1
--- /dev/null
+++ b/frontend/src/components/ErrorBanner.tsx
@@ -0,0 +1,5 @@
+function ErrorBanner({ message }: { message: string }) {
+ return <div className="error-message">{message}</div>;
+}
+
+export default ErrorBanner;