Adding slot attribute to ReactNode

-1
I’m trying to add the slot attribute to widgets coming in via a “widgets” property. I can add it to newly creating elements, like on the span, but not to existing ReactNodes. Does anyone know how to fix this? I’m pretty sure it’s not a React issue via this codepen.
asked
0 answers