UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

6 lines (5 loc) 384 B
The `<ScreenReaderAnnouncer />` component. 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.