@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.cjs.js
CHANGED
|
@@ -26618,7 +26618,7 @@ var LineItem = function LineItem(_ref) {
|
|
|
26618
26618
|
var formatAttrKeys = function formatAttrKeys(key) {
|
|
26619
26619
|
var keyWithoutUnderscores = key.replace(/_/g, " ");
|
|
26620
26620
|
var capitalizedKey = keyWithoutUnderscores.split(" ").map(function (word) {
|
|
26621
|
-
return word.charAt(0).toUpperCase();
|
|
26621
|
+
return "".concat(word.charAt(0).toUpperCase()).concat(word.slice(1));
|
|
26622
26622
|
}).join(" ");
|
|
26623
26623
|
return capitalizedKey;
|
|
26624
26624
|
};
|