A

Admin • 833.24K Points
Coach

Q. What does the 'children' prop represent in React?

  • (A) Any nested elements or components passed between opening and closing tags
  • (B) The parent component
  • (C) The component's state
  • (D) The component's methods
  • Correct Answer - Option(A)
  • Views: 35
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

children lets components render nested content dynamically.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.