style: Update PageLinkProps dir property to be required

This commit is contained in:
Gauthier Daniels 2025-04-23 13:25:47 +02:00
parent 20cb60be16
commit 7d00c50b2f

View File

@ -18,7 +18,7 @@ function ArrowIcon(props: JSX.IntrinsicElements["svg"]) {
type PageLinkProps = Omit<JSX.IntrinsicElements["div"], "dir" | "title"> & { type PageLinkProps = Omit<JSX.IntrinsicElements["div"], "dir" | "title"> & {
title: string; title: string;
href: string; href: string;
dir?: "previous" | "next"; dir: "previous" | "next";
}; };
function PageLink(props: PageLinkProps) { function PageLink(props: PageLinkProps) {