Understanding the React Function as Children Pattern

Let’s have a look at the React Function as Children Pattern . The simple component Usually, JSX/TSX code looks like this: 1 2 3 < SomeComponent > < SomeChild someProp = {something}/ > </ SomeComponent >