react/node_modules/@webpack-cli/generators/lib/utils/helpers.js
/**
 * Convert str to UpperCamelCase
 * @param str import string
 * @returns {string} output string
 */
Convert str to UpperCamelCase
@param str import string
@returns {string} output string
Convert str to UpperCamelCase @param str import string @returns { string } output string
function toUpperCamelCase(str) {
    return str
        .match(regex)
        .map((x) => x.slice(0, 1).toUpperCase() + x.slice(1).toLowerCase())
        .join('');
}
function toUpperCamelCase ( str ) { return str . match ( regex ) . map ( ( x ) => x . slice ( 0 , 1 ) . toUpperCase ( ) + x . slice ( 1 ) . toLowerCase ( ) ) . join ( '' ) ; }
Convert str to UpperCamelCase
 @param str import string
 @returns {string} output string
Convert str to UpperCamelCase @param str import string @returns { string } output string