Skip to main content

SelectionProviderProps

Props for SelectionProvider.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { SelectionProviderProps } from "@mapcairn/map";

interface SelectionProviderProps

Properties​

children​

readonly children?: ReactNode;

The components that read the selection.

selection​

readonly selection: FeatureSelectionState | null;

What useFeatureSelection returned: null when the host has no store.

See also​

Source: packages/map/src/layers/SelectionProvider.tsx:11