B4Coder
0%
LessonAbout 6 min

Chapter 8 · Lesson 4 of 5

04. Wrapping with children

A component can wrap whatever you put between its tags: React passes it in as the children prop. Great for cards, panels and boxes.

Opening the lesson…