HelpSection
Help: what the search box accepts, the keyboard shortcuts, a statement of the accessibility target and, when the host supplies one, its About block.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { HelpSection } from "@mapcairn/map";
function HelpSection(input: HelpSectionProps): JSX.Element;
Parameters
{ headingLevel, headingRef, onStartTour, about, }input(HelpSectionProps)
Returns
JSX.Element
Remarks
The Keyboard group is shown only when the primary pointer is fine (a mouse or trackpad), the signal this app uses for "has a keyboard". On a touch device it is left out entirely rather than replaced by a hint. A keyboard attached to a touch device is not detected, so the same shortcuts stay in the map's own hidden keyboard instructions.
See also
Source: packages/map/src/panels/HelpSection/HelpSection.tsx:73