-
Notifications
You must be signed in to change notification settings - Fork 2
docs: Add new card component documentation #12
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for moving this over :) I've found only one thing that applies on all live previews
|
||
Put in some content in the `CardBody` to get a basic card. | ||
|
||
```jsx live |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to check if the examples are rendered properly. I've added a way to make the live preview box different sizes so you don't have scrolling examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I get what you mean. The examples render correctly with the live
tag, although there's a scroll in the preview. In what way did you make the examples non-scrolling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you check other components live blocks in the code. There is in some places sm,md,lg to describe which high it should have. This is because some components are to big for the default high of the iframe.
Added documentation for the new card component