utils/get-class-name.js
function toPascalCase(name) {
  return name.charAt(0).toUpperCase() + name.replace(/-(.)?/g, (match, c) => c.toUpperCase()).slice(1);
}
function toPascalCase(name) {
  return name.charAt(0).toUpperCase() + name.replace(/-(.)?/g, (match, c) => c.toUpperCase()).slice(1);
}
function toPascalCase ( name ) { return name . charAt ( 0 ) . toUpperCase ( ) + name . replace ( / -(.)? / g , ( match , c ) => c . toUpperCase ( ) ) . slice ( 1 ) ; }
Transforms kabeb-case string to PascalCase
Transforms kabeb - case string to PascalCase