# LiveRegionScopeProps

Props for [`LiveRegionScope`](https://docs.mapcairn.com/api/map/LiveRegionScope.md).

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

## Signature

```ts
import type { LiveRegionScopeProps } from "@mapcairn/map";
 
interface LiveRegionScopeProps
```

## Properties

### children

```ts
readonly children?: ReactNode;
```

The part of the app whose announcements `format` applies to.

### format

```ts
readonly format?: (text: string) => string;
```

Rewrites the text of every announcement made below, after a `Message` is
formatted. Leave it out and announcements pass through unchanged.

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