UNPKG

@hex2r/react-announcer

Version:

Accessible announcer component for React apps using the Context API. Renders live-region messages for screen readers and provides a simple hook for dispatching announcements from anywhere in your component tree.

4 lines 214 B
import React from "react"; import type { AnnouncerContextType } from "./types"; export declare const AnnouncerContext: React.Context<AnnouncerContextType | undefined>; //# sourceMappingURL=AnnouncerContext.d.ts.map