Updates
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export default function twuiCamelToNormalCase(str: string) {
|
||||
return str
|
||||
.replace(/([A-Z])/g, " $1")
|
||||
.trim()
|
||||
.replace(/\b\w/g, (char) => char.toUpperCase());
|
||||
}
|
||||
Reference in New Issue
Block a user