Skip to main content

AttributionSkeleton

The credits button as a decorative stand-in for the server-rendered ChromeSkeleton: the same anchor and icon classes as Attribution, so it sits in the same box, with the popover left out.

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

Signature​

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

function AttributionSkeleton(input: AttributionSkeletonProps): JSX.Element;

Parameters​

  • { label }
  • input (AttributionSkeletonProps)

Returns​

JSX.Element

Remarks​

Only ever rendered inside an aria-hidden, inert container. It uses no hooks, so it needs no map or provider: its name arrives as label.

See also​

Source: packages/map/src/chrome/Attribution/AttributionSkeleton.tsx:21