Jobs
Blogs
Courses
Mentorship
Partners
For Employers
e2e logo

React (how to use props)

mac

React props:

  • Props Stands for properties.
  • Props are arguments passed into React components.
  • Props are passed to components via HTML attributes.

Pass Data:

  • Props are also how you pass data from one component to another, as parameters.

Example: