-
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.
- Loading branch information
Showing
7 changed files
with
213 additions
and
135 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,32 +1,31 @@ | ||
## Card Props | ||
|
||
| Name | Type | Default | Description | | ||
| ----------- | ------ | ------- | ------------------------------------------------------------ | | ||
| `img` | String | `null` | The image source URL to be displayed in the card. | | ||
| `title` | String | `null` | The title text to be displayed in the card. | | ||
| `footerInfo`| String | `null` | The footer information text to be displayed at the bottom of the card. | | ||
| `className` | String | `null` | Additional CSS class names to be applied to the card component. | | ||
| Name | Type | Default | Description | | ||
| ------------ | ------ | ------- | ---------------------------------------------------------------------- | | ||
| `img` | String | `null` | The image source URL to be displayed in the card. | | ||
| `title` | String | `null` | The title text to be displayed in the card. | | ||
| `footerInfo` | String | `null` | The footer information text to be displayed at the bottom of the card. | | ||
| `className` | String | `null` | Additional CSS class names to be applied to the card component. | | ||
|
||
## Card Slots | ||
|
||
| Name | Description | | ||
| ------- | ------------------------------------------------------------ | | ||
| `body` | The body content to be displayed in the card. | | ||
| `footer`| The footer content to be displayed in the card. | | ||
| Name | Description | | ||
| -------- | ----------------------------------------------- | | ||
| `body` | The body content to be displayed in the card. | | ||
| `footer` | The footer content to be displayed in the card. | | ||
|
||
## Card 属性 | ||
|
||
| 名称 | 类型 | 默认值 | 描述 | | ||
| ------------- | ------ | ------- | ------------------------------------------ | | ||
| `img` | 字符串 | `null` | 要在卡片中显示的图像源URL。 | | ||
| `title` | 字符串 | `null` | 要在卡片中显示的标题文本。 | | ||
| `footerInfo` | 字符串 | `null` | 要在卡片底部显示的页脚信息文本。 | | ||
| `className` | 字符串 | `null` | 要应用于卡片组件的附加CSS类名。 | | ||
| 名称 | 类型 | 默认值 | 描述 | | ||
| ------------ | ------ | ------ | -------------------------------- | | ||
| `img` | 字符串 | `null` | 要在卡片中显示的图像源URL。 | | ||
| `title` | 字符串 | `null` | 要在卡片中显示的标题文本。 | | ||
| `footerInfo` | 字符串 | `null` | 要在卡片底部显示的页脚信息文本。 | | ||
| `className` | 字符串 | `null` | 要应用于卡片组件的附加CSS类名。 | | ||
|
||
## Card 插槽 | ||
|
||
| Name | Description | | ||
| ------- | ------------------------------------------------------------ | | ||
| `body` | 要在卡片中显示的正文内容。 | | ||
| `footer`| 要在卡片中显示的页脚内容。 | | ||
|
||
| Name | Description | | ||
| -------- | -------------------------- | | ||
| `body` | 要在卡片中显示的正文内容。 | | ||
| `footer` | 要在卡片中显示的页脚内容。 | |
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
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
Oops, something went wrong.