Skip to content

Commit 44ca8cf

Browse files
author
Jaap
committed
pass notify function to messageactions in messagelivestream
1 parent 18c4b26 commit 44ca8cf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/Message/MessageLivestream.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ const MessageLivestreamComponent = (props) => {
187187
tDateTimeParser={propTDateTimeParser}
188188
channelConfig={channelConfig}
189189
threadList={props.threadList}
190+
addNotification={props.addNotification}
190191
handleOpenThread={propHandleOpenThread || handleOpenThread}
191192
setEditingState={setEdit}
192193
/>

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,7 @@ export const MessageCommerce: React.FC<MessageCommerceProps>;
12381238

12391239
export interface MessageLivestreamProps extends MessageUIComponentProps {}
12401240
export interface MessageLivestreamActionProps {
1241+
addNotification?(notificationText: string, type: string): any;
12411242
initialMessage?: boolean;
12421243
message?: Client.MessageResponse;
12431244
tDateTimeParser?(datetime: string | number): Dayjs.Dayjs;

0 commit comments

Comments
 (0)