<Pagination count={10} current={3} />
add first & last items
group next & prev
add entries info
<Pagination
count={10}
current={3}
showFirstAndLast={true}
displayInfo="Show %s of %s"
showPrevAndNextTogether={true}
/>
<Pagination count={10} current={3}>
<Pagination.Last />
<Pagination.First />
<Pagination.Current />
<Pagination.Prev />
<Pagination.Next />
</Pagination>
https://youtu.be/hEGg-3pIHlE
egghead.io - react-write-compound-components