19 lines
347 B
Markdown
19 lines
347 B
Markdown
|
Card
|
||
|
===
|
||
|
|
||
|
This component is a simple wrapper around the Card component from `@wordpress/components`. It supports `title` and `description` props to be displayed in the card header.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```jsx
|
||
|
<Card
|
||
|
title="Title"
|
||
|
description="Description goes here."
|
||
|
className="className"
|
||
|
>
|
||
|
<div>
|
||
|
Any card content goes here.
|
||
|
</div>
|
||
|
</Card>
|
||
|
```
|