aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/UserLabel.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-11 01:23:41 +0900
committernsfisis <nsfisis@gmail.com>2025-03-11 01:23:41 +0900
commita93c441ec4f992ed2f7eeae23fb823b1d152913f (patch)
treec8e7750019849a7100d11ac6b81517ad0d5c98ea /frontend/app/components/UserLabel.tsx
parent57212d2c7992a46827f503ae70c8e31f2084b718 (diff)
downloadphperkaigi-2025-albatross-a93c441ec4f992ed2f7eeae23fb823b1d152913f.tar.gz
phperkaigi-2025-albatross-a93c441ec4f992ed2f7eeae23fb823b1d152913f.tar.zst
phperkaigi-2025-albatross-a93c441ec4f992ed2f7eeae23fb823b1d152913f.zip
feat: show user label
Diffstat (limited to 'frontend/app/components/UserLabel.tsx')
-rw-r--r--frontend/app/components/UserLabel.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/app/components/UserLabel.tsx b/frontend/app/components/UserLabel.tsx
new file mode 100644
index 0000000..b436ad6
--- /dev/null
+++ b/frontend/app/components/UserLabel.tsx
@@ -0,0 +1,11 @@
+type Props = {
+ label: string;
+};
+
+export default function UserLabel({ label }: Props) {
+ return (
+ <span className="bg-sky-700 text-sky-50 rounded-lg p-3 text-sm">
+ {label}
+ </span>
+ );
+}