UNPKG

fumadocs-core

Version:

The React.js library for building a documentation website

10 lines • 476 B
import { LinkProps } from "./link.js"; export type DynamicLinkProps = LinkProps; /** * Extends the default `Link` component * * It supports dynamic hrefs, which means you can use `/[lang]/my-page` with `dynamicHrefs` enabled */ export declare function DynamicLink({ href, ref, ...props }: DynamicLinkProps): import("react").JSX.Element; export declare function updateHref(href: string, params: Record<string, string | string[]>): string; export { DynamicLink as default };