Question about the <div> that contains children in a component (that gets injected when we add a slot target). Is there any way that tag type can be changed?
I have a simple text component for which I want the root element to have a styled <p> tag, and I want to pass the text into it. But the <div> injected inside the <p> causes Next.js to give a bunch of hydration mismatch errors.
Thanks - that much I was able to do, but when inserting a slot inside of it, the slot creates a <div> that I can’t change. And Next.js freaks out when you put a <div> inside a <p>