You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pagination): added for support layout on Pagination (#1533)
* refactor(pagination): replace `a` with button
* feat(pagination): added for support `layout` on Pagination
* fix(panel): fix: Property 'Pagination' does not exist on type 'Table'
* feat(pagination): support router for PaginationButton
* docs(pagination): update docs for pagination
* docs(table): update example for table pagination
Copy file name to clipboardExpand all lines: docs/pages/components/pagination/en-US/index.md
+30-16Lines changed: 30 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,27 +20,41 @@ Paging navigation, used to assist long lists to load only part of the data, you
20
20
21
21
<!--{include:`disabled.md`}-->
22
22
23
+
### Used with Link in next/link
24
+
25
+
<!--{include:`with-router.md`}-->
26
+
23
27
### Advanced
24
28
29
+
> The `layout` prop can customize the layout of a paging component. It receives an array parameter and renders according to the order of the values in the array. The default value of `layout` is `['pager']`, and the optional values include: `total` (total entry input area), `pager` (page area), `limit` (entry option area), `skip` (quick jump page area), `-` (area placeholder, fill up the remaining space) , `|` (vertical separator).
0 commit comments