StatusMessageFocusProviderProps
Props for StatusMessageFocusProvider.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { StatusMessageFocusProviderProps } from "@mapcairn/map";
interface StatusMessageFocusProviderProps
Properties
children
readonly children: ReactNode;
The components whose status messages may take focus back.
fallback
readonly fallback: () => void;
Moves focus to a stable stop, such as the map region. A StatusMessage
below the provider calls it when it goes away with focus inside it and the
element focus came from cannot take focus. The latest function is used.
Source: packages/map/src/ui/StatusMessage/StatusMessageFocus.tsx:12