edit panel remembering modifications in other tabs
This commit is contained in:
parent
d197447ad6
commit
9df71b4949
9 changed files with 133 additions and 79 deletions
11
src/utils/string.js
Normal file
11
src/utils/string.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function toPascalCase(string) {
|
||||
return string.replace(/\p{L}+/gu, function (w) {
|
||||
return (
|
||||
w[0].toLocaleUpperCase("fr-FR") + w.slice(1).toLocaleLowerCase("fr-FR")
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
const StringUtils = { toPascalCase };
|
||||
|
||||
export default StringUtils;
|
||||
Loading…
Add table
Add a link
Reference in a new issue