0 votes
106 views
in Javascript by (3.5k points)
edited

What are children prop?

1 Answer

0 votes
by (3.5k points)
edited

Children props are used to pass component to other components as properties. You can access it by using

{props.children}

Related questions

0 votes
1 answer 136 views
0 votes
1 answer 126 views
0 votes
1 answer 115 views
0 votes
1 answer 86 views
asked Aug 19, 2022 in Javascript by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

557 users

...