Skip to main content

PinSection

The pin: a button that drops a pin at the centre of the map, which is the button equivalent of a long press and of the P key, and a note while a pin is on the map. The pin's details are the caller's children.

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

Signature​

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

function PinSection(input: PinSectionProps): JSX.Element;

Parameters​

  • { hasPin, onDropPin, children, headingLevel, headingRef, }
  • input (PinSectionProps)

Returns​

JSX.Element

See also​

Source: packages/map/src/panels/PinSection/PinSection.tsx:29