Мой профиль
← ReactINTRO LESSON

Meet React

Read the example

Follow each line, then choose an answer. You can try again. Your result stays in this browser.

function Greeting({ name }) {
  return <h1>Hello, {name}!</h1>;
}

How does the component receive name?

Back to course map