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.