javascript – Conditional rendring and wrapping two or more elements with the same type in React

So here are my data structure:
enter image description here

I want to render elements with the same type grouped by a div

something like :

<div>cmsParagraph</div>
<div class="wrapper">
  <div>cmsImageZoom</div>
  <div>cmsImageZoom</div>
</div>

here is my component loop :
enter image description here

Any ideas !?