The video for this lesson is currently being updated, please read the transcript instead.

Passing props to preview components

In this video, we're going to document the Item Summary component. Then, when we add the component preview, we'll see how to pass state to it, which we haven't covered yet.

General description

We'll begin by adding a doc block above the component definition. We'll add the general description "Card to display item information.". We'll also add a @version tag and give it the version 1.0.0.

Props

To view the complete lesson you'll need to login or join this course.


Click to load comments...