LayerItem
One layer in the Layers section: its switch, and while it is on, its status, controls, legend, disclaimer and list. Everything comes from the definition.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { LayerItem } from "@mapcairn/map";
function LayerItem(input: LayerItemProps): JSX.Element;
Parameters
{ layer, layers, formatters, onShow, }input(LayerItemProps)
Returns
JSX.Element