Skip to content

Commit

Permalink
docs(card): fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Oct 1, 2024
1 parent 77bdaf2 commit 4918b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/varlet-ui/src/card/docs/en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ const floating = ref(false)

| Prop | Description | Type | Default |
|---------------------|-----------------------------------------------------------------|----------|----------|
| `variant` ***3.5.4*** | The variant of Card, optional value is `standard` `outlined` `filled` | _string_ | `standard` |
| `title` | The title of Card | _string_ | `-` |
| `subtitle` | The subtitle of Card | _string_ | `-` |
| `description` | The description of Card | _string_ | `-` |
Expand Down
3 changes: 1 addition & 2 deletions packages/varlet-ui/src/card/docs/zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,14 @@ const floating = ref(false)

| 参数 | 说明 | 类型 | 默认值 |
|---------------------|--------------------------------------------------------|----------|----------|
| `variant` ***3.5.4*** | 卡片外观,可选值 `standard` `outlined` `filled` | _string_ | `standard` |
| `title` | 卡片标题 | _string_ | `-` |
| `subtitle` | 卡片副标题 | _string_ | `-` |
| `description` | 卡片描述 | _string_ | `-` |
| `elevation` | 海拔高度,可选值为 `true``false``0-24` 的等级 | _string \| number \| boolean_ | `true` |
| `src` | 图片地址 | _string_ | `-` |
| `layout` | 排列方式,可选值为 `row` `column` | _string_ | `column` |
| `fit` | 填充模式,可选值为 `fill` `contain` `cover` `none` `scale-down` | _string_ | `cover` |
| `outline` | 是否使用外边框 | _boolean_ | `false` |
| `filled` | 是否使用填充 | _boolean_ | `false` |
| `alt` | 替代文本,和 img 标签原生属性一致 | _string_ | `-` |
| `image-height` | 图片高度 | _string \| number_ | `-` |
| `image-width` | 图片宽度 | _string \| number_ | `-` |
Expand Down

0 comments on commit 4918b58

Please sign in to comment.