Concepts
Destructuring props
Extract named fields from the props parameter using JavaScript object destructuring.
Formal Syntax & Structure
react syntaxreact
function Item({ name, count })Working Example
Example Snippetreact
function Item({ name, count }) { return <p>{name}: {count}</p>; }