Props are the parameters passed to a React component, read as read-only. The special children prop contains the content nested between the component's tags, which lets you create reusable containers. A component must never modify its props.
Example
function Carte({ titre, children }) {
return <section><h2>{titre}</h2>{children}</section>;
}