props children
Children in JSX
(This article is part of React in patterns series.)
React is highly composable. And the API that enables that is props.children
. It gives us the power to create a placeholder that is later filled with content from the outside.