# 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

```ts
import { PinSection } from "@mapcairn/map";
 
function PinSection(input: PinSectionProps): JSX.Element;
```

## Parameters

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

## Returns

`JSX.Element`

## See also

- [`PinSectionProps`](https://docs.mapcairn.com/api/map/PinSectionProps.md)

Source: [packages/map/src/panels/PinSection/PinSection.tsx:29](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/panels/PinSection/PinSection.tsx#L29)
