Files
salam e687b4437b
linter / quality (push) Canceled after 0s
tests / ci (8.3) (push) Canceled after 0s
tests / ci (8.4) (push) Canceled after 0s
tests / ci (8.5) (push) Canceled after 0s
first commit
2026-10-06 18:53:03 +02:00

21 lines
634 B
Svelte

<script lang="ts">
import type { ComponentProps } from "svelte";
import { cn } from "@/lib/utils.js";
import { PaginationLink } from "./index.js";
import ChevronLeftIcon from '@lucide/svelte/icons/chevron-left';
type PaginationPreviousProps = ComponentProps<typeof PaginationLink>;
let { class: className, ...restProps }: PaginationPreviousProps = $props();
</script>
<PaginationLink
aria-label="Go to previous page"
size="default"
class={cn("pl-1.5!", className)}
{...restProps}
>
<ChevronLeftIcon data-icon="inline-start" />
<span class="cn-pagination-previous-text hidden sm:block">Previous</span>
</PaginationLink>