+ {memorySegments
+ .filter(({isInfo}) => !isInfo)
+ .map((segment) => {
+ if (segment.value < MIN_VISIBLE_MEMORY_VALUE) {
+ return null;
+ }
+
+ const currentMemoryShare = Math.max(
+ calculateMemoryShare(segment.value),
+ MIN_VISIBLE_MEMORY_SHARE,
+ );
+ const position = currentPosition;
+ currentPosition += currentMemoryShare;
+
+ return (
+
+ );
+ })}
+
{renderContent()}
+