@codegouvfr/react-dsfr
Version:
French State Design System React integration library
15 lines (14 loc) • 539 B
TypeScript
import type { ReactNode } from "react";
import type { RegisteredLinkProps } from "../link";
export declare function setBrandTopAndHomeLinkProps(params: {
brandTop: ReactNode;
homeLinkProps: RegisteredLinkProps & {
title: string;
};
}): void;
export declare function getBrandTopAndHomeLinkProps(): {
brandTop: ReactNode;
homeLinkProps: Omit<import("react").ClassAttributes<HTMLAnchorElement> & import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "children"> & {
title: string;
};
} | undefined;