React Flashcards

1
Q

how do you access child elements of a compenent with props?

A

you access the children object in props. you dont need to pass this explicitly because in react children of a component are passed with props automatically.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly