docs(Pagination): improve slot desc

This commit is contained in:
chenjiahan 2020-10-01 17:05:00 +08:00
parent af43521fa2
commit 27822b2e5e
2 changed files with 8 additions and 8 deletions

View File

@ -82,8 +82,8 @@ export default {
### Slots
| Name | Description | Default |
| Name | Description | SlotProps |
| --- | --- | --- |
| prev-text | custom prev slot | `-` |
| next-text | custom next slot | `-` |
| page | pagination item slot | `{ number: number, text: string, active: boolean }` |
| page `v2.10.9` | Custom pagination item | `{ number: number, text: string, active: boolean }` |
| prev-text `v2.10.9` | Custom prev text | `-` |
| next-text `v2.10.9` | Custom next text | `-` |

View File

@ -82,8 +82,8 @@ export default {
### Slots
| 名称 | 描述 | 默认值 |
| 名称 | 描述 | SlotProps |
| --- | --- | --- |
| prev-text | 自定义上一页插槽 | `-` |
| next-text | 自定义下一页插槽 | `-` |
| page | 自定义页码插槽 | `{ number: number, text: string, active: boolean }` |
| page `v2.10.9` | 自定义页码 | `{ number: number, text: string, active: boolean }` |
| prev-text `v2.10.9` | 自定义上一页按钮文字 | `-` |
| next-text `v2.10.9` | 自定义下一页按钮文字 | `-` |