Skip to content

Commit

Permalink
updated pagination buttons to use latest styling from design system
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanel Henley committed Dec 17, 2024
1 parent 4249a92 commit c0e082e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/components/List/Pagination/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,16 @@ export const Pagination = () => {
onClick={() => prevPage()}
disabled={page <= 1}
>
<span className="a-btn__icon a-btn__icon--on-left">
{getIcon('left')}
</span>
Previous
{getIcon('left')}
<span>Previous</span>
</button>
<button
className="a-btn m-pagination__btn-next"
onClick={() => nextPage()}
disabled={page >= total}
>
Next
<span className="a-btn__icon a-btn__icon--on-right">
{getIcon('right')}
</span>
<span>Next</span>
{getIcon('right')}
</button>
<div className="m-pagination__form">
<label className="m-pagination__label">Page {page}</label>
Expand Down

0 comments on commit c0e082e

Please sign in to comment.