Closed smo043 closed 4 years ago
Hi @SMOHA786 , how do you solve this?
I wrote a custom wrapper to handle this scenario. I can share it with you incase if you need it.
Hi again @SMOHA786, thanks for you quickly answer.
Yes, i'm having the same problem with this div wrapper and i would like to check your solution if you could share.
Thank you,
Sure will share the github url here
up just to ensure that you will not forget 😄
@echart - Sent you the invitation link, accept it.
Hello,
MapTo HOC wraps an additional 'div' around the component. We have a use case where Carousel is author-able component and card as another author-able component. Because an additional 'div' is wrapped for both of the components, the layout is breaking.
Is there a way we can toggle on/off the 'div'?
Below is how the structure looks
<div><Carousel><div><Card></Card><div></div></div></Carousel><div></div></div>