# Installation
> `npm install --save @types/react-aria-live`

# Summary
This package contains type definitions for react-aria-live (https://github.com/AlmeroSteyn/react-aria-live#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-aria-live.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-aria-live/index.d.ts)
````ts
import * as React from "react";

export class LiveAnnouncer extends React.Component {
    announcePolite(message: string, id?: string): void;
    announceAssertive(message: string, id?: string): void;
}

export const LiveMessage: React.FunctionComponent<{
    "aria-live": "assertive" | "polite";
    clearOnUnmount?: boolean | "true" | "false" | undefined;
    message: string;
}>;

export const LiveMessenger: React.FunctionComponent<{
    children(contextProps: {
        announceAssertive(message: string, id?: string): void;
        announcePolite(message: string, id?: string): void;
    }): React.ReactNode;
}>;

````

### Additional Details
 * Last updated: Thu, 28 Dec 2023 22:06:53 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [AJ Livingston](https://github.com/ajliv).
