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
.
Click to load comments...