Mute conversations

This commit is contained in:
Josh Perez 2020-08-27 15:45:08 -04:00 committed by Josh Perez
parent de7a69dee9
commit 84e52c948b
12 changed files with 185 additions and 3 deletions

View file

@ -34,6 +34,7 @@ const actionProps: PropsActionsType = {
onDeleteMessages: action('onDeleteMessages'),
onResetSession: action('onResetSession'),
onSearchInConversation: action('onSearchInConversation'),
onSetMuteNotifications: action('onSetMuteNotifications'),
onOutgoingAudioCallInConversation: action(
'onOutgoingAudioCallInConversation'
),
@ -172,6 +173,20 @@ const stories: Array<ConversationHeaderStory> = [
...housekeepingProps,
},
},
{
title: 'Muting Conversation',
props: {
color: 'ultramarine',
title: '(202) 555-0006',
phoneNumber: '(202) 555-0006',
type: 'direct',
id: '6',
muteExpirationLabel: '10/18/3000, 11:11 AM',
isAccepted: true,
...actionProps,
...housekeepingProps,
},
},
],
},
{