adding in navbar and other components
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export const toTitleCase = (str: string) => {
|
||||
return str
|
||||
.toLowerCase()
|
||||
.split(' ')
|
||||
.map((s) => s.charAt(0).toUpperCase() + s.substring(1))
|
||||
.join(' ');
|
||||
};
|
||||
Reference in New Issue
Block a user