aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/InlineCode.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-16 00:14:59 +0900
committernsfisis <nsfisis@gmail.com>2025-03-16 00:14:59 +0900
commit074c1fba509987e9ee8f9b1593d3e2a205127f10 (patch)
tree1a5a106e040e753036a6f83c083af8d071926e73 /frontend/app/components/Gaming/InlineCode.tsx
parent5df5ec12134b85e9c743ffd5b4da35aa0fed04e6 (diff)
downloadphperkaigi-2025-albatross-074c1fba509987e9ee8f9b1593d3e2a205127f10.tar.gz
phperkaigi-2025-albatross-074c1fba509987e9ee8f9b1593d3e2a205127f10.tar.zst
phperkaigi-2025-albatross-074c1fba509987e9ee8f9b1593d3e2a205127f10.zip
feat(frontend): add InlineCode component
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>
+ );
+}