Skip to content

Commit

Permalink
chore: move jsdoc comments to component
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmelo92 committed Feb 2, 2024
1 parent 295d549 commit 9179238
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/Card/Card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ 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,
Expand Down
6 changes: 6 additions & 0 deletions src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ export type Props = PropsWithSpread<
HTMLProps<HTMLDivElement>
>;

/**
* This is a [React](https://reactjs.org/) component for the Vanilla [Card](https://docs.vanillaframework.io/patterns/card/).
*
* 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 Card = ({
children,
className,
Expand Down

0 comments on commit 9179238

Please sign in to comment.