import camelCase from 'lodash/camelCase' ; const capitalize = ( str ) => str . charAt ( 0 ) . toUpperCase ( ) + str . slice ( 1 ) ; export const pascalCase = ( str ) => capitalize ( camelCase ( str ) ) ;