Add more buttons to ContactModal
This commit is contained in:
parent
307fb7346d
commit
848ed95bda
6 changed files with 150 additions and 30 deletions
|
@ -31,17 +31,28 @@ const defaultGroup: ConversationType = getDefaultConversation({
|
|||
export default {
|
||||
title: 'Components/Conversation/ContactModal',
|
||||
component: ContactModal,
|
||||
argTypes: {
|
||||
hasActiveCall: { control: { type: 'boolean' } },
|
||||
},
|
||||
args: {
|
||||
i18n,
|
||||
areWeASubscriber: false,
|
||||
areWeAdmin: false,
|
||||
badges: [],
|
||||
blockConversation: action('blockConversation'),
|
||||
contact: defaultContact,
|
||||
conversation: defaultGroup,
|
||||
hasActiveCall: false,
|
||||
hasStories: undefined,
|
||||
hideContactModal: action('hideContactModal'),
|
||||
isAdmin: false,
|
||||
isMember: true,
|
||||
onOutgoingAudioCallInConversation: action(
|
||||
'onOutgoingAudioCallInConversation'
|
||||
),
|
||||
onOutgoingVideoCallInConversation: action(
|
||||
'onOutgoingVideoCallInConversation'
|
||||
),
|
||||
removeMemberFromGroup: action('removeMemberFromGroup'),
|
||||
showConversation: action('showConversation'),
|
||||
theme: ThemeType.light,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue