Skip to content

Commit 00d4c3b

Browse files
update API per comment
1 parent d411553 commit 00d4c3b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/communication-react/review/beta/communication-react.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4190,7 +4190,7 @@ export const NotificationStack: (props: NotificationStackProps) => JSX.Element;
41904190

41914191
// @public
41924192
export interface NotificationStackOptions {
4193-
showCallNotifications?: 'hidden' | 'visible';
4193+
hideAllNotifications?: boolean;
41944194
}
41954195

41964196
// @public

packages/communication-react/review/stable/communication-react.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3700,7 +3700,7 @@ export const NotificationStack: (props: NotificationStackProps) => JSX.Element;
37003700

37013701
// @public
37023702
export interface NotificationStackOptions {
3703-
showCallNotifications?: 'hidden' | 'visible';
3703+
hideAllNotifications?: boolean;
37043704
}
37053705

37063706
// @public

packages/react-composites/src/composites/CallComposite/CallComposite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export interface NotificationStackOptions {
159159
* Whether to show the notifications in the composite. useful
160160
* for hiding the notifications in the composite to replace with your own custom notifications.
161161
*/
162-
showCallNotifications?: 'hidden' | 'visible';
162+
hideAllNotifications?: boolean;
163163
}
164164

165165
/**

packages/react-composites/src/composites/CallComposite/components/CallArrangement.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ export const CallArrangement = (props: CallArrangementProps): JSX.Element => {
544544
<Stack.Item style={callCompositeContainerCSS}>
545545
<Stack.Item styles={callGalleryStyles} grow>
546546
<Stack verticalFill styles={galleryContainerStyles}>
547-
{props.notificationOptions?.showCallNotifications !== 'hidden' && (
547+
{!props.notificationOptions?.hideAllNotifications && (
548548
<Stack.Item styles={notificationsContainerStyles}>
549549
{
550550
/* @conditional-compile-remove(breakout-rooms) */

0 commit comments

Comments
 (0)