We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02dafe2 commit de7d48eCopy full SHA for de7d48e
content/components/cards.mdx
@@ -18,6 +18,12 @@ icon: "rectangle"
18
</Card>
19
```
20
21
+```jsx Image Card Example
22
+<Card title="Image Card" img="/images/card-with-image.png">
23
+ Here is an example of a card with an image
24
+</Card>
25
+```
26
+
27
</RequestExample>
28
29
### Horizontal Card
@@ -28,6 +34,14 @@ Add a `horizontal` property to a card to make it horizontally displayed.
34
Here is an example of a horizontal card
35
30
36
37
+### Image Card
38
39
+Add an `img` property to a card to display an image on the top of the card.
40
41
42
43
44
31
45
## Props
32
46
33
47
<ResponseField name="title" type="string" required>
0 commit comments