Props:

Key points :

props are read-only (modification is not possible..).

Whatever you pass like attributes all those are converted into objects in function parameter.

Syntax for passing props :

Syntax : < Component props >

Example : < Card imgUrl={path}, name={shivaji} />

The syntax for accessing props: with the help of the props keyword

Syntax: props. key

Example: pops.name

Cases:

{" Hello"} - it will print hello