Skip to main content

SheetContent

Everything inside the sheet, under its own h2 title, each part a section named by an h3. For the settings and help sections that is Settings and Help. Otherwise it is Basemap, Pin, Layers (only when the host has layers or a catalogue that loads), Shapes (only when the host offers drawing) and Save image.

This is a function exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import { SheetContent } from "@mapcairn/map";

function SheetContent(input: SheetContentProps): JSX.Element;

Parameters​

  • { basemapId, onBasemapChange, hasPin, onDropPin, section, pinCard, layers, draw, onShowOnMap, showTurnOffAll, intro, imageCredits, privacyHref, privacyNote, onStartTour, about, }
  • input (SheetContentProps)

Returns​

JSX.Element

See also​

Source: packages/map/src/panels/SheetContent/SheetContent.tsx:76