@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
12 lines (11 loc) • 682 B
TypeScript
import { FC } from 'react';
import { AnnouncerProps, CompoundProps } from './ScreenReaderAnnouncer.types';
/**
* Component which will cause a screen reader to announce a message when required.
* To allow for multiple announcers to exist concurrently, each announcer must have a unique identity.
* If no identity is provided, a default one is used (useful for a top level announcer).
* If an announcer with a duplicate identity is mounted, an error will occur.
* @deprecated Use the equivalent from momentum.design (NPM: `@momentum-design/components/dist/react`)
*/
declare const ScreenReaderAnnouncer: FC<AnnouncerProps> & CompoundProps;
export default ScreenReaderAnnouncer;