adding in navbar and other components

This commit is contained in:
talksik
2022-06-11 06:06:16 -05:00
parent 8ee5cc0886
commit 11c4ec5a53
10 changed files with 282 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
export const toTitleCase = (str: string) => {
return str
.toLowerCase()
.split(' ')
.map((s) => s.charAt(0).toUpperCase() + s.substring(1))
.join(' ');
};