Story view receipts setting

This commit is contained in:
Fedor Indutny 2022-10-25 15:18:42 -07:00 committed by GitHub
parent ad42d98774
commit 3702a67975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 161 additions and 35 deletions

View file

@ -29,9 +29,11 @@ export default {
defaultValue: undefined,
},
hasAllStoriesMuted: {
control: 'boolean',
defaultValue: false,
},
hasReadReceiptSetting: {
hasViewReceiptSetting: {
control: 'boolean',
defaultValue: true,
},
i18n: {
@ -194,7 +196,7 @@ export const ReadReceiptsOff = Template.bind({});
'/fixtures/nathan-anderson-316188-unsplash.jpg'
);
ReadReceiptsOff.args = {
hasReadReceiptSetting: false,
hasViewReceiptSetting: false,
story: {
...storyView,
sender: {