# LiveRegionProvider

Mounts the one app-wide announcer: a visually hidden polite `status` region
and a visually hidden assertive `alert` region. Nothing else in the app may
create a live region except `StatusMessage`, which is a visible message.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { LiveRegionProvider } from "@mapcairn/map";
 
function LiveRegionProvider(input: LiveRegionProviderProps): JSX.Element;
```

## Parameters

- `{ children }`
- `input` (`LiveRegionProviderProps`)

## Returns

`JSX.Element`

## Remarks

Mount it once, near the root. A second provider logs a warning in
 development, because two announcers would read the same message twice.

## See also

- [`LiveRegionProviderProps`](https://docs.mapcairn.com/api/map/LiveRegionProviderProps.md)

Source: [packages/map/src/ui/LiveRegion/LiveRegion.tsx:59](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/LiveRegion/LiveRegion.tsx#L59)
