Skip to main content

FocusRegistryProviderProps

Props for FocusRegistryProvider.

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

Signature​

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

interface FocusRegistryProviderProps

Properties​

children​

readonly children: ReactNode;

The chrome whose controls register themselves.

focusMap​

readonly focusMap: () => void;

Focuses the map region. Used when the control that opened a surface no longer exists.

Source: packages/map/src/chrome/focusRegistry.tsx:26