UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

10 lines 575 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /// Adapted from: https://github.com/AlmeroSteyn/react-aria-live/blob/master/src/modules/LiveMessage.js import React from 'react'; import AnnouncerContext from './AnnouncerContext'; import AnnouncerMessage from './AnnouncerMessage'; /** @private */ const LiveMessage = (props) => (React.createElement(AnnouncerContext.Consumer, null, (contextProps) => React.createElement(AnnouncerMessage, Object.assign({}, contextProps, props)))); export default LiveMessage; //# sourceMappingURL=LiveMessage.js.map