-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v3] remove
image
prop from <Card>
component, image will be showe…
…d based on truthiness `children` prop now (#3243) * a * b * add changeset * Update packages/nextra/src/client/components/cards.tsx
- Loading branch information
1 parent
b90cf47
commit 2872606
Showing
2 changed files
with
37 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'nextra-theme-blog': major | ||
'nextra-theme-docs': major | ||
'nextra': major | ||
--- | ||
|
||
remove `image` prop from `<Card>` component, image will be showed based on truthiness `children` prop now | ||
|
||
set `icon` as optional prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters