style: Update PageLinkProps dir property to be required
This commit is contained in:
parent
20cb60be16
commit
7d00c50b2f
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user