diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-01-09 16:26:51 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-01-09 16:26:51 -0800 |
| commit | 1c06c6f39af400184b74a1713217e3081d01a3f6 (patch) | |
| tree | e9b4c5a3b89e6c511658f369dc36c557899774c9 /src/components | |
| parent | 7030bda4fbbacaddbed3789ebb06537463a1cab5 (diff) | |
add styled divider to stats pages
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Divider/Divider.tsx | 12 |
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 |
