ReactProps in React

Props (short for properties) are used to pass data from one component to another. They are read-only and help make components dynamic.

function Welcome(props) {
  return <h1>Hello, {props.name}</h1>;
}

<Welcome name=\"Alice\" />