Skip to content

Commit b724159

Browse files
committed
Update the hooks docs
1 parent 484d5bd commit b724159

File tree

1 file changed

+1
-4
lines changed
  • packages/module/patternfly-docs/content/extensions/data-view/examples/Hooks

1 file changed

+1
-4
lines changed

packages/module/patternfly-docs/content/extensions/data-view/examples/Hooks/Hooks.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@ Data view hooks provide a predefined solution to manage state of the data view.
1717

1818
### useDataViewPagination()
1919

20-
The `useDataViewPagination` hook manages the pagination state of the data view. It retrieves the current `page` and `perPage` values together with functions to set them (`setPage`, `setPerPage`)
21-
22-
Coming soon...
23-
20+
The `useDataViewPagination` hook manages the pagination state of the data view. It retrieves the current `page` and `perPage` values together with functions to set them (`onSetPage`, `onPerPageSelect`). You can easily spread the retrieved values to the PatternFly [pagination](/components/pagination) component and make it live.

0 commit comments

Comments
 (0)