Put in order · JavaScript and React course · Module 15: Patterns and Architecture

Slot Pattern Syntax in SpaceCard

Arrange the syntax for rendering a SpaceCard component with slots:

Items to put in order

  • header={<h3>Title</h3>}
  • </SpaceCard>
  • >
  • actions={<Button>OK</Button>}
  • <p>Content</p>
  • <SpaceCard

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