Updated the pagination buttons style
This commit is contained in:
committed by
Matt Aitken
parent
c4a08961d6
commit
db3cf77f5b
+6
-4
@@ -24,10 +24,11 @@ function NextButton({ cursor }: { cursor?: string }) {
|
||||
return path ? (
|
||||
<LinkButton
|
||||
to={path}
|
||||
variant={"secondary/small"}
|
||||
variant={"tertiary/small"}
|
||||
TrailingIcon="chevron-right"
|
||||
className="flex items-center"
|
||||
>
|
||||
<span className="sr-only">Next</span>
|
||||
Next
|
||||
</LinkButton>
|
||||
) : null;
|
||||
}
|
||||
@@ -38,10 +39,11 @@ function PreviousButton({ cursor }: { cursor?: string }) {
|
||||
return path ? (
|
||||
<LinkButton
|
||||
to={path}
|
||||
variant={"secondary/small"}
|
||||
variant={"tertiary/small"}
|
||||
LeadingIcon="chevron-left"
|
||||
className="flex items-center"
|
||||
>
|
||||
<span className="sr-only">Previous</span>
|
||||
Prev
|
||||
</LinkButton>
|
||||
) : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user