@octopusdeploy/design-system-components
Version:
The design systems component library.
11 lines (10 loc) • 742 B
TypeScript
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 {};