Skip to main content

HelpAbout

A host's About block in Help: a heading, a line of text, one link out and, optionally, a link to the host's own page about the site. The link out is drawn only when its address is an absolute http or https one, and the own-page link only when it is that or a path on the site; otherwise Help shows the block without it.

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

Signature​

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

interface HelpAbout

Properties​

heading​

readonly heading: string;

The block's heading, in the host's words.

readonly homeLink?: HelpAboutLink;

A link to the host's own page about the site (a product or home page), shown before the link out and opened in the same tab, like the privacy policy link in Settings.

readonly link: HelpAboutLink;

A link out, opened in a new tab and announced as doing so.

text​

readonly text: string;

What the host wants to say about the site, as plain text.

See also​

Source: packages/map/src/panels/HelpSection/HelpSection.tsx:33