From a216b566a8d6148811ab2bda543cfb04f8930529 Mon Sep 17 00:00:00 2001
From: Joe Banks <joe@jb3.dev>
Date: Mon, 29 Apr 2024 01:09:22 +0100
Subject: Add capitalization util

---
 src/utils.tsx | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 src/utils.tsx

(limited to 'src/utils.tsx')

diff --git a/src/utils.tsx b/src/utils.tsx
new file mode 100644
index 0000000..9a2d8b4
--- /dev/null
+++ b/src/utils.tsx
@@ -0,0 +1 @@
+export const capitalize = (str: string) => str.charAt(0).toUpperCase() + str.slice(1);
-- 
cgit v1.2.3

