Skip to content

Commit

Permalink
chore: use comments instead of declaring the description parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmelo92 committed Jan 9, 2024
1 parent f0337c5 commit 85d9a3b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions src/components/Card/Card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@ import Card from "./";
import Col from "../Col";
import Row from "../Row";

/**
* This is a [React](https://reactjs.org/) component for the Vanilla [Card](https://docs.vanillaframework.io/patterns/card/).
* <br/>
* <br/>
* There are four card styles available to use in Vanilla: default, header, highlighted and overlay. Our card component will expand to fill the full width of its parent container.
*/

const meta: Meta<typeof Card> = {
title: "Card",
component: Card,
tags: ["autodocs"],
parameters: {
docs: {
description: {
component: `This is a [React](https://reactjs.org/) component for the Vanilla [Card](https://docs.vanillaframework.io/patterns/card/).
<br/>
<br/>
There are four card styles available to use in Vanilla: default, header, highlighted and overlay. Our card component will expand to fill the full width of its parent container.`,
},
},
},
};

export default meta;
Expand Down

0 comments on commit 85d9a3b

Please sign in to comment.