@octopusdeploy/design-system-components
Version:
The design systems component library.
10 lines (9 loc) • 556 B
TypeScript
import type { ReactNode } from "react";
interface PageTitleContextProps {
children: ReactNode;
}
export declare function PageTitleProvider({ children }: PageTitleContextProps): import("react/jsx-runtime").JSX.Element;
export declare function useSetPageTitlePrimarySegmentEffect(title: string | undefined): void;
export declare function useSetPageTitleSecondarySegmentEffect(title: string | undefined): void;
export declare function usePageTitleFromPageHeaders(primarySegment: string | undefined, secondarySegment: string | undefined): void;
export {};