UNPKG

@octopusdeploy/design-system-components

Version:
11 lines (10 loc) 742 B
import type { PropsWithChildren } from "react"; import type React from "react"; import type { DesignSystemLinkHref, DesignSystemLinkProps } from "../routing/OctopusRoutingContext"; interface TestDesignSystemProviderProps { Link?: ReturnType<typeof React.forwardRef<HTMLAnchorElement, DesignSystemLinkProps>>; useIsUrlActive?: () => (path: DesignSystemLinkHref, exact: boolean | undefined) => boolean; useDispatchLinkAnalytics?: () => (linkLabel: string, href: string, name: string, linkLocation?: string) => void; } export declare function TestDesignSystemProvider({ Link, useIsUrlActive, useDispatchLinkAnalytics, children }: PropsWithChildren<TestDesignSystemProviderProps>): import("react/jsx-runtime").JSX.Element; export {};