diff options
author | 2024-04-29 01:09:22 +0100 | |
---|---|---|
committer | 2024-04-29 01:09:22 +0100 | |
commit | a216b566a8d6148811ab2bda543cfb04f8930529 (patch) | |
tree | 24a2697a6a7113d8153c22f86899cb137ad2f7f1 | |
parent | Add component for service list (diff) |
Add capitalization util
-rw-r--r-- | src/utils.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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); |