diff --git a/src/components/Card/Card.stories.tsx b/src/components/Card/Card.stories.tsx index 05a621187..60ab25ee3 100644 --- a/src/components/Card/Card.stories.tsx +++ b/src/components/Card/Card.stories.tsx @@ -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/). - *
- *
- * 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 = { title: "Card", component: Card, diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index 62227f8e8..564f3f0b8 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -35,6 +35,12 @@ export type Props = PropsWithSpread< HTMLProps >; +/** + * 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,