Question · Vibe coding with Claude Code course · Module 3: Twitter clone

The children prop

What is the children prop in the Post component?

Answer options

  • A list of all the components that the Post.tsx file imports
  • An array of posts that Post should display on the feed
  • Everything the parent puts between <Post> and </Post>, for example a Link
  • A prop that React adds only to components in layout.tsx

You can check the correct answer by solving this task in the CodeWorlds game.