-
Notifications
You must be signed in to change notification settings - Fork 2
Pagination
brandonk1234 edited this page Dec 5, 2016
·
2 revisions
The pagination component is used to navigate through pages quickly and easily.
The props needed for this component are listed and explained below:
-
currentPage
- This prop must be anumber
-
totalPages
- This prop must be anumber
-
buttonType
- This prop must be astring
-
className
- This prop must be astring
<Pagination
currentPage={2}
totalPages={5}
buttonType="secondary"
className="course"
/>,
<Pagination
currentPage={3}
totalPages={9}
buttonType="secondary"
className="course"
isSmall={true}
/>