mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
4 lines
101 B
TypeScript
4 lines
101 B
TypeScript
export const capitalize = (str: string) => {
|
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
};
|