aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/UserLabel.tsx
diff options
context:
space:
mode:
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>
+ );
+}