Component

KomponentReact

Misol

function DishCard({ name, price }) {
  return <article>{name}: {price}</article>;
}
Barcha atamalar