Skip to main content

SkipLinkProps

Props for SkipLink.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { SkipLinkProps } from "@mapcairn/map";

interface SkipLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "href">

Properties​

children​

readonly children?: ReactNode;

The link text. Defaults to the catalogue's "ui.skipToMap".

targetId​

readonly targetId: string;

The id of the element to move focus to. It must be focusable.

Source: packages/map/src/ui/SkipLink/SkipLink.tsx:9