LayerKeyProps
Props for LayerKey.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { LayerKeyProps } from "@mapcairn/map";
interface LayerKeyProps
Properties
definition
readonly definition: LayerDefinition;
The layer whose legend to draw.
label
readonly label: string;
The list's accessible name, such as Key for Earthquakes.
layout
readonly layout?: LayerKeyLayout;
How the rows sit: wrap (the default) side by side, wrapping as the
line fills; stacked one to a line, with the glyphs in a fixed-width
column so the words line up.
testId
readonly testId: string;
The list's data-testid.