@thecb/components 10.11.2-beta.1 → 10.11.2-beta.3

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
@@ -41706,7 +41706,7 @@ var EditableList = function EditableList(_ref) {
41706
41706
  }, /*#__PURE__*/React.createElement(Text$1, {
41707
41707
  variant: "p",
41708
41708
  color: CHARADE_GREY
41709
- }, renderItem(item)), /*#__PURE__*/React.createElement(EditableListItemControls, null, item.isPrimary && /*#__PURE__*/React.createElement(Text$1, {
41709
+ }, renderItem && typeof renderItem === "function" ? renderItem(item) : item), /*#__PURE__*/React.createElement(EditableListItemControls, null, item.isPrimary && /*#__PURE__*/React.createElement(Text$1, {
41710
41710
  variant: "p",
41711
41711
  color: STORM_GREY,
41712
41712
  extraStyles: "font-style: italic;",