function genComponentName(pagePath) {
    if (pagePath === '/') {
        return 'index';
    }
    const pageHash = docuHash(pagePath);
    return upperFirst(lodash_camelcase_1.default(pageHash));
}
/**
 * Generate unique React Component Name.
 * E.g: /foo-bar -> FooBar096
 */
Generate unique React Component Name.
Generate unique React Component Name .
function genComponentName(pagePath) {
    if (pagePath === '/') {
        return 'index';
    }
    const pageHash = docuHash(pagePath);
    return upperFirst(lodash_camelcase_1.default(pageHash));
}
function genComponentName ( pagePath ) { if ( pagePath === '/' ) { return 'index' ; } const pageHash = docuHash ( pagePath ) ; return upperFirst ( lodash_camelcase_1 . default ( pageHash ) ) ; }
Generate unique React Component Name.
Generate unique React Component Name .