Színkorrekciók
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
function camelToDash(str) {
|
||||
return str.replace(/([A-Z])/g, (match) => `-${match.toLowerCase()}`);
|
||||
}
|
||||
|
||||
export { camelToDash };
|
||||
Reference in New Issue
Block a user