Skip to main content

HelpSectionProps

Props for HelpSection.

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

Signature​

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

interface HelpSectionProps

Properties​

about​

readonly about?: HelpAbout;

The host's About block, shown below the other subsections. Without it Help has none. Its link address must be a trusted http or https one that the host supplies; any other address leaves the link out.

headingLevel​

readonly headingLevel?: HeadingLevel;

The heading level. Defaults to 3, below the sheet's h2 title.

headingRef​

readonly headingRef?: Ref<HTMLHeadingElement>;

Receives the heading, so the sheet can focus it.

onStartTour​

readonly onStartTour?: () => void;

Starts the first-visit tour. Without it Help offers no tour.

See also​

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