aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Divider/Divider.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Divider/Divider.tsx')
-rw-r--r--src/components/Divider/Divider.tsx12
1 files changed, 12 insertions, 0 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage