Skip to main content

SearchPillSkeleton

The search pill as a decorative stand-in for the server-rendered ChromeSkeleton: the same wrapper, pill and input classes as SearchPill, so it fills the same box, with nothing wired up.

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

Signature​

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

function SearchPillSkeleton(input: SearchPillSkeletonProps): JSX.Element;

Parameters​

  • { copy }
  • input (SearchPillSkeletonProps)

Returns​

JSX.Element

Remarks​

Only ever rendered inside an aria-hidden, inert container. It uses no hooks and needs no provider: its words arrive as copy. The Search button is disabled, as the real one is while the box is empty.

See also​

Source: packages/map/src/tools/SearchPill/SearchPillSkeleton.tsx:31