@codegouvfr/react-dsfr
Version:
French State Design System React integration library
14 lines (13 loc) • 508 B
TypeScript
import React from "react";
export type SkipLink = {
label: string;
anchor: `${string}`;
};
export type SkipLinksProps = {
className?: string;
links: SkipLink[];
classes?: Partial<Record<"root" | "list" | "link", string>>;
};
/** @see <https://react-dsfr-components.etalab.studio/?path=/docs/components-skiplinks> */
export declare const SkipLinks: React.MemoExoticComponent<React.ForwardRefExoticComponent<SkipLinksProps & React.RefAttributes<HTMLDivElement>>>;
export default SkipLinks;