export default function dashesToCamelCase(str) {

    return str.charAt(0).toUpperCase() + str.slice(1);
};
@@ -42,17 +42,16 @@
 (str) %7B%0A
-%0A
     retu
@@ -61,45 +61,84 @@
 str.
-charAt(0).toUpperCase() + str.slice(1
+replace(/-(%5Ba-z%5D)/g, function (g) %7B%0A        return g%5B1%5D.toUpperCase();%0A    %7D
 );%0A%7D

Add helper for converting dashed words to lower camel case