aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/InlineCode.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/Gaming/InlineCode.tsx')
-rw-r--r--frontend/app/components/Gaming/InlineCode.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/app/components/Gaming/InlineCode.tsx b/frontend/app/components/Gaming/InlineCode.tsx
new file mode 100644
index 0000000..c90cad4
--- /dev/null
+++ b/frontend/app/components/Gaming/InlineCode.tsx
@@ -0,0 +1,11 @@
+type Props = {
+ code: string;
+};
+
+export default function InlineCode({ code }: Props) {
+ return (
+ <code className="bg-gray-50 rounded-lg border border-gray-300 p-1">
+ {code}
+ </code>
+ );
+}