React Props (Properties)

Props are immutable.

function Heading(props) {
  return <h1>{props.title}</h1>;
}

Leave a Reply

Your email address will not be published. Required fields are marked *