Component composition - monello/complete-react-guide-2024 GitHub Wiki The Children prop Using the children built-in props Destructuring the chlidren prop Re-using a component Re-using the component Another example Another example Passing props Passing component-types as props / Setting component types dynamically A shorcut: Component casing is important Default values for component props Forwarding Props using the Rest- and Spread-operators Working with multiple Slots