Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

Which of the following statements about props in React is true?

Click the option that best answers the question.

  • Props are read-only and cannot be modified by the child component
  • Props can only be passed from a parent component to a child component
  • Props can be used to initialize the state of a component
  • Props can only be passed as strings or numbers