Conditional Wrap Component
This is not too much of a deep question, I just want to know if is there a more intelligent and non-complicated way of doing this, because I keep confusing myself with this alternative.. and I don't want to use a hook to do this
4 Replies
The main difference here I'm seeing is that you remove background and border and change padding. Maybe just leave it inside that div and add xl: to those things that you want to display?
exactly what I did lmaoo
But I guess I wanted to know a solution for wrapping, though it's useless in this case