Skip to main content

MountAbout

The About block a page adds to Help: a heading, a line of text and up to two links. In releases after 0.2.0, not in 0.2.0 or any earlier release.

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

Signature​

import type { MountAbout } from "@mapcairn/sdk/browser";

interface MountAbout

Properties​

heading​

readonly heading: string;

The block's heading. A message key, or text as written. It is a heading, so an empty one is an error.

readonly homeLink?: MountLink;

A link to the page's own page about the site, opened in the same tab and shown first.

readonly link: MountLink;

A link out, opened in a new tab.

text​

readonly text: string;

What the page says about itself, as plain text.

See also​