mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 23:49:14 +08:00
docs(Pagination): improve slot desc
This commit is contained in:
parent
af43521fa2
commit
27822b2e5e
@ -82,8 +82,8 @@ export default {
|
|||||||
|
|
||||||
### Slots
|
### Slots
|
||||||
|
|
||||||
| Name | Description | Default |
|
| Name | Description | SlotProps |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| prev-text | custom prev slot | `-` |
|
| page `v2.10.9` | Custom pagination item | `{ number: number, text: string, active: boolean }` |
|
||||||
| next-text | custom next slot | `-` |
|
| prev-text `v2.10.9` | Custom prev text | `-` |
|
||||||
| page | pagination item slot | `{ number: number, text: string, active: boolean }` |
|
| next-text `v2.10.9` | Custom next text | `-` |
|
||||||
|
@ -82,8 +82,8 @@ export default {
|
|||||||
|
|
||||||
### Slots
|
### Slots
|
||||||
|
|
||||||
| 名称 | 描述 | 默认值 |
|
| 名称 | 描述 | SlotProps |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| prev-text | 自定义上一页插槽 | `-` |
|
| page `v2.10.9` | 自定义页码 | `{ number: number, text: string, active: boolean }` |
|
||||||
| next-text | 自定义下一页插槽 | `-` |
|
| prev-text `v2.10.9` | 自定义上一页按钮文字 | `-` |
|
||||||
| page | 自定义页码插槽 | `{ number: number, text: string, active: boolean }` |
|
| next-text `v2.10.9` | 自定义下一页按钮文字 | `-` |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user