diff --git a/src/PrismicProvider.tsx b/src/PrismicProvider.tsx index b156983..efd653e 100644 --- a/src/PrismicProvider.tsx +++ b/src/PrismicProvider.tsx @@ -2,12 +2,14 @@ import * as React from "react"; import * as prismic from "@prismicio/client"; import * as prismicH from "@prismicio/helpers"; +import { LinkProps } from "./PrismicLink"; + export type PrismicContextValue = { client?: prismic.Client; linkResolver?: prismicH.LinkResolverFunction; richTextComponents?: Record; - internalLinkComponent?: string | React.ComponentType; - externalLinkComponent?: string | React.ComponentType; + internalLinkComponent?: string | React.ComponentType; + externalLinkComponent?: string | React.ComponentType; children?: React.ReactNode; };