From 1c06c6f39af400184b74a1713217e3081d01a3f6 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Tue, 9 Jan 2024 16:26:51 -0800
Subject: add styled divider to stats pages

---
 src/components/Divider/Divider.tsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 src/components/Divider/Divider.tsx

(limited to 'src/components/Divider/Divider.tsx')

diff --git a/src/components/Divider/Divider.tsx b/src/components/Divider/Divider.tsx
new file mode 100644
index 0000000..55e6844
--- /dev/null
+++ b/src/components/Divider/Divider.tsx
@@ -0,0 +1,12 @@
+interface DividerProps {
+    text: string;
+}
+
+const Divider = (props: DividerProps) => {
+    return (
+        <div className="flex flex-row items-center justify-center bg-black h-24 mt-8">
+            <div className="px-2 text-white text-4xl font-extrabold">{props.text}</div>
+        </div>
+    )
+}
+export default Divider;
\ No newline at end of file
-- 
cgit v1.2.3

