Adds quick reactions to stories
This commit is contained in:
parent
e334490cf4
commit
a88778b536
5 changed files with 40 additions and 95 deletions
|
@ -8,11 +8,9 @@ import { useArgs } from '@storybook/addons';
|
|||
import type { PropsType } from './StoryViewsNRepliesModal';
|
||||
import * as durations from '../util/durations';
|
||||
import enMessages from '../../_locales/en/messages.json';
|
||||
import { IMAGE_JPEG } from '../types/MIME';
|
||||
import { SendStatus } from '../messages/MessageSendState';
|
||||
import { StoryViewsNRepliesModal } from './StoryViewsNRepliesModal';
|
||||
import { UUID } from '../types/UUID';
|
||||
import { fakeAttachment } from '../test-both/helpers/fakeAttachment';
|
||||
import { getDefaultConversation } from '../test-both/helpers/getDefaultConversation';
|
||||
import { setupI18n } from '../util/setupI18n';
|
||||
import { StoryViewTargetType } from '../types/Stories';
|
||||
|
@ -54,17 +52,6 @@ export default {
|
|||
replies: {
|
||||
defaultValue: [],
|
||||
},
|
||||
storyPreviewAttachment: {
|
||||
defaultValue: fakeAttachment({
|
||||
thumbnail: {
|
||||
contentType: IMAGE_JPEG,
|
||||
height: 64,
|
||||
objectUrl: '/fixtures/nathan-anderson-316188-unsplash.jpg',
|
||||
path: '',
|
||||
width: 40,
|
||||
},
|
||||
}),
|
||||
},
|
||||
views: {
|
||||
defaultValue: [],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue