@thecb/components 9.1.0-beta.1 → 9.1.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -26610,7 +26610,7 @@ var LineItem = function LineItem(_ref) {
|
|
|
26610
26610
|
var formatAttrKeys = function formatAttrKeys(key) {
|
|
26611
26611
|
var keyWithoutUnderscores = key.replace(/_/g, " ");
|
|
26612
26612
|
var capitalizedKey = keyWithoutUnderscores.split(" ").map(function (word) {
|
|
26613
|
-
return word.charAt(0).toUpperCase();
|
|
26613
|
+
return "".concat(word.charAt(0).toUpperCase()).concat(word.slice(1));
|
|
26614
26614
|
}).join(" ");
|
|
26615
26615
|
return capitalizedKey;
|
|
26616
26616
|
};
|