Skip to content

Commit ed37903

Browse files
authoredApr 26, 2024··
docs: typos in pagination.md (#5508)
1 parent 2afa14b commit ed37903

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎docs/guide/pagination.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const table = useReactTable({
8787
8888
### Pagination State
8989
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.
9191
9292
The `pagination` state is an object that contains the following properties:
9393
@@ -170,14 +170,14 @@ There are several pagination table instance APIs that are useful for hooking up
170170
- `nextPage`: Useful for going to the next page. (Button click handler)
171171
- `firstPage`: Useful for going to the first page. (Button click handler)
172172
- `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.
174174
- `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.
176176
- `resetPageSize`: Useful for resetting the table state to the original page size.
177177
- `setPagination`: Useful for setting all of the pagination state at once.
178178
- `resetPagination`: Useful for resetting the table state to the original pagination state.
179179
180-
> **Note**: Some of these APIs are new in `v8.13.0`
180+
> **Note**: Some of these APIs are new in `v8.13.0`.
181181
182182
```jsx
183183
<Button
@@ -204,7 +204,7 @@ There are several pagination table instance APIs that are useful for hooking up
204204
>
205205
{'>>'}
206206
</Button>
207-
<select
207+
<select
208208
value={table.getState().pagination.pageSize}
209209
onChange={e => {
210210
table.setPageSize(Number(e.target.value))

0 commit comments

Comments
 (0)
Please sign in to comment.