Skip to content

Commit c1ac3ae

Browse files
authored
add img prop (#291)
1 parent de7d48e commit c1ac3ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/components/cards.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ Add an `img` property to a card to display an image on the top of the card.
6767
<ResponseField name="horizontal" type="boolean">
6868
Makes the card more compact and horizontal
6969
</ResponseField>
70+
71+
<ResponseField name="img" type="string">
72+
The url or local path to an image to display on the top of the card
73+
</ResponseField>

0 commit comments

Comments
 (0)