docs(Pagination): improve document

This commit is contained in:
chenjiahan
2020-10-01 17:16:25 +08:00
parent 27822b2e5e
commit 18312ce9e9
3 changed files with 15 additions and 7 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ export default {
/>
```
### Custom Render
### Custom Button
```html
<van-pagination v-model="currentPage" :total-items="50" :show-page-size="5">
@@ -84,6 +84,6 @@ export default {
| Name | Description | SlotProps |
| --- | --- | --- |
| page `v2.10.9` | Custom pagination item | `{ 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 | `-` |