@@ -87,7 +87,7 @@ const table = useReactTable({
87
87
88
88
### Pagination State
89
89
90
- Whether or not you are using client-side or manual server-side pagination, you can use the built-in ` pagination` state state and APIs.
90
+ Whether or not you are using client-side or manual server-side pagination, you can use the built-in ` pagination` state and APIs.
91
91
92
92
The ` pagination` state is an object that contains the following properties:
93
93
@@ -170,14 +170,14 @@ There are several pagination table instance APIs that are useful for hooking up
170
170
- ` nextPage` : Useful for going to the next page. (Button click handler)
171
171
- ` firstPage` : Useful for going to the first page. (Button click handler)
172
172
- ` lastPage` : Useful for going to the last page. (Button click handler)
173
- - ` setPageIndex` : uUseful for a "go to page" input.
173
+ - ` setPageIndex` : Useful for a "go to page" input.
174
174
- ` resetPageIndex` : Useful for resetting the table state to the original page index.
175
- - ` setPageSize` : Useful for a "page size" input/select
175
+ - ` setPageSize` : Useful for a "page size" input/select.
176
176
- ` resetPageSize` : Useful for resetting the table state to the original page size.
177
177
- ` setPagination` : Useful for setting all of the pagination state at once.
178
178
- ` resetPagination` : Useful for resetting the table state to the original pagination state.
179
179
180
- > **Note**: Some of these APIs are new in ` v8.13 .0 `
180
+ > **Note**: Some of these APIs are new in ` v8.13 .0 ` .
181
181
182
182
` ` ` jsx
183
183
< Button
@@ -204,7 +204,7 @@ There are several pagination table instance APIs that are useful for hooking up
204
204
>
205
205
{' >>' }
206
206
< / Button>
207
- < select
207
+ < select
208
208
value= {table .getState ().pagination .pageSize }
209
209
onChange= {e => {
210
210
table .setPageSize (Number (e .target .value ))
0 commit comments