Skip to content

Commit

Permalink
add image prop (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
dks333 authored Oct 1, 2024
1 parent 8c901b2 commit 119c6ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ Add a `horizontal` property to a card to make it horizontally displayed.
<ResponseField name="horizontal" type="boolean">
Makes the card more compact and horizontal
</ResponseField>

<ResponseField name="img" type="string">
The url or local path to an image to display on the top of the card
</ResponseField>

0 comments on commit 119c6ff

Please sign in to comment.