Skip to content

Commit 23e61a8

Browse files
pagyewimyelo
authored andcommitted
docs: Updated readme.md
1 parent f10a546 commit 23e61a8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

readme.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
// ...
2323
pagination: {
2424
previousText: '上一章节',
25-
nextText: '下一章节',
25+
// or
26+
nextText: {
27+
'/en/': 'NEXT',
28+
'/': '下一章节'
29+
}
2630
crossChapter: true,
2731
crossChapterText: true,
2832
},
@@ -32,12 +36,12 @@
3236
## Options
3337
### pagination.previousText
3438
* **Default:** ``'PREVIOUS'``
35-
* **Type:** ``String``
39+
* **Type:** ``String | Object``
3640
* **Description:** The text of previous label.
3741

3842
### pagination.nextText
3943
* **Default:** ``'NEXT'``
40-
* **Type:** ``String``
44+
* **Type:** ``String | Object``
4145
* **Description:** The text of next label.
4246

4347
### pagination.crossChapter

0 commit comments

Comments
 (0)