Skip to content

Commit

Permalink
chore(#92): use button for pager
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Nov 30, 2023
1 parent b986f9f commit 05f48ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Pager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@

<ul class="ct-pager__items">
<li class="ct-pager__item ct-pager__item--previous">
<CTLink
<CTButton
class="ct-pager__link"
:disabled="!previous"
icon="left-arrow"
icon-position="before"
text="Previous"
:theme="theme"
title="Go to previous page"
type="tertiary"
@click.native.prevent="onPrevious"
/>
</li>
Expand Down Expand Up @@ -93,13 +94,14 @@
</li> -->

<li class="ct-pager__item ct-pager__item--next">
<CTLink
<CTButton
class="ct-pager__link"
:disabled="!next"
icon="right-arrow-2"
text="Next"
:theme="theme"
title="Go to next page"
type="tertiary"
@click.native.prevent="onNext"
/>
</li>
Expand Down

0 comments on commit 05f48ff

Please sign in to comment.