@true-engineering/true-react-common-ui-kit 3.28.1 → 3.28.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/README.md
CHANGED
|
@@ -8281,6 +8281,8 @@ var List = function(param) {
|
|
|
8281
8281
|
var itemProps = _object_spread_props$N(_object_spread$W({
|
|
8282
8282
|
testId: getTestId(item.testId, "item-".concat(i))
|
|
8283
8283
|
}, item), {
|
|
8284
|
+
shouldDrawSpacerAbove: item.shouldDrawSpacerAbove && i !== 0,
|
|
8285
|
+
shouldDrawSpacerBelow: item.shouldDrawSpacerBelow && i !== items.length - 1,
|
|
8284
8286
|
onClick: function(event) {
|
|
8285
8287
|
return handleItemClick(event, item);
|
|
8286
8288
|
}
|