Components
Component props
Inputs from a parent to a component; read the object for the current render without mutating it.
Formal Syntax & Structure
react syntaxreact
<ProductCard name="Paper" price={4} />Working Example
Example Snippetreact
function ProductCard({ name }) { return <p>{name}</p>; }