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.

3 lines 158 B
import type { AnnouncerContextType } from "./types"; export declare const useAnnouncer: () => AnnouncerContextType; //# sourceMappingURL=useAnnouncer.d.ts.map