How to add child component to component?
How to do it like...
<MyComponent>
<ChildComponent />
</MyComponent>
I'm adding unnessary div to do it...
4 Replies
Ok, I see props.children. But how to do it in Typescript?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yes I just foud it :)) Thanks brother. Just let's use ParentComponent type without any headache!! 🙂
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View