Skip to main content

EndStackSkeleton

The end stack as a decorative stand-in for the server-rendered ChromeSkeleton: the same column, groups and buttons as EndStack, with the Map options, Measure, Locate me and Settings group (and Directions and Draw shapes when the host sets them) and, on a device with a fine pointer, the zoom group. No compass, because the map starts facing north.

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

Signature​

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

function EndStackSkeleton(input: EndStackSkeletonProps): JSX.Element;

Parameters​

  • { copy, directions, draw, }
  • input (EndStackSkeletonProps)

Returns​

JSX.Element

Remarks​

Only ever rendered inside an aria-hidden, inert container. It uses no hooks and needs no provider: the names arrive as copy.

See also​

Source: packages/map/src/chrome/EndStack/EndStackSkeleton.tsx:60