docs(ComponentCard): show all props for the code (#797)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
KeJun
2023-10-15 23:52:20 +08:00
committed by GitHub
parent 9f4d88e0aa
commit 8867936e01
16 changed files with 157 additions and 99 deletions

View File

@@ -38,6 +38,7 @@ Use the `color` and `variant` props to change the visual style of the Badge.
props:
color: 'primary'
variant: 'solid'
code: Badge
---
Badge
@@ -59,6 +60,7 @@ options:
- solid
excludedProps:
- color
code: Badge
---
Badge
@@ -78,6 +80,7 @@ options:
- solid
excludedProps:
- color
code: Badge
---
Badge
@@ -97,6 +100,7 @@ options:
- solid
excludedProps:
- color
code: Badge
---
Badge
@@ -110,6 +114,7 @@ Use the `size` prop to change the size of the Badge.
---
props:
size: 'sm'
code: Badge
---
Badge
@@ -126,6 +131,7 @@ props:
rounded: 'rounded-full'
excludedProps:
- ui
code: Badge
---
Badge