ConversationView: Pull various functions out of getMessageActions
This commit is contained in:
parent
5a98fc2f4c
commit
1e282ee5d0
42 changed files with 440 additions and 570 deletions
|
@ -70,6 +70,20 @@ CannotMixMultiAndNonMultiAttachments.args = {
|
|||
},
|
||||
};
|
||||
|
||||
export const CannotOpenGiftBadgeIncoming = Template.bind({});
|
||||
CannotOpenGiftBadgeIncoming.args = {
|
||||
toast: {
|
||||
toastType: ToastType.CannotOpenGiftBadgeIncoming,
|
||||
},
|
||||
};
|
||||
|
||||
export const CannotOpenGiftBadgeOutgoing = Template.bind({});
|
||||
CannotOpenGiftBadgeOutgoing.args = {
|
||||
toast: {
|
||||
toastType: ToastType.CannotOpenGiftBadgeOutgoing,
|
||||
},
|
||||
};
|
||||
|
||||
export const CannotStartGroupCall = Template.bind({});
|
||||
CannotStartGroupCall.args = {
|
||||
toast: {
|
||||
|
@ -182,6 +196,13 @@ PinnedConversationsFull.args = {
|
|||
},
|
||||
};
|
||||
|
||||
export const ReactionFailed = Template.bind({});
|
||||
ReactionFailed.args = {
|
||||
toast: {
|
||||
toastType: ToastType.ReactionFailed,
|
||||
},
|
||||
};
|
||||
|
||||
export const ReportedSpamAndBlocked = Template.bind({});
|
||||
ReportedSpamAndBlocked.args = {
|
||||
toast: {
|
||||
|
@ -231,6 +252,20 @@ StoryVideoUnsupported.args = {
|
|||
},
|
||||
};
|
||||
|
||||
export const TapToViewExpiredIncoming = Template.bind({});
|
||||
TapToViewExpiredIncoming.args = {
|
||||
toast: {
|
||||
toastType: ToastType.TapToViewExpiredIncoming,
|
||||
},
|
||||
};
|
||||
|
||||
export const TapToViewExpiredOutgoing = Template.bind({});
|
||||
TapToViewExpiredOutgoing.args = {
|
||||
toast: {
|
||||
toastType: ToastType.TapToViewExpiredOutgoing,
|
||||
},
|
||||
};
|
||||
|
||||
export const UnableToLoadAttachment = Template.bind({});
|
||||
UnableToLoadAttachment.args = {
|
||||
toast: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue