Created
February 3, 2020 23:05
-
-
Save marc-morris/eed4a1fc92d60605c1bdfb977eea26c9 to your computer and use it in GitHub Desktop.
semantic pagination
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const [pageNumber, setPageNumber] = useState(1); | |
<Pagination activePage={pageNumber} onPageChange={(e, { activePage }) => setPageNumber(activePage)} totalPages={pageTotal} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment