Tech Tutorials Database
GeekArticles Microsoft ASP.NET

Pass Multiple Children to a React Component with Slots

Category: ASP.NET
Comments (0)

. You need to create a reusable component. But the children prop won?t cut it. This component needs to be able to accept multiple children and place them in the layout as it sees fit ? not right next to each other.. Maybe you?re creating a Layout with a header, a sidebar, and a content area.


Sponsored Links

Read Next: Working with Vanilla JS in Web Applications




Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�