View next unread story improvements
This commit is contained in:
parent
9d3498d938
commit
84411fee38
5 changed files with 36 additions and 4 deletions
|
@ -37,6 +37,7 @@ function getDefaultProps(): PropsType {
|
|||
preferredReactionEmoji: ['❤️', '👍', '👎', '😂', '😮', '😢'],
|
||||
queueStoryDownload: action('queueStoryDownload'),
|
||||
renderEmojiPicker: () => <div />,
|
||||
selectedStoryIndex: 0,
|
||||
stories: [
|
||||
{
|
||||
attachment: fakeAttachment({
|
||||
|
@ -106,11 +107,12 @@ story.add('Multi story', () => {
|
|||
);
|
||||
});
|
||||
|
||||
story.add('So many stories', () => {
|
||||
story.add('So many stories (start on story 4)', () => {
|
||||
const sender = getDefaultConversation();
|
||||
return (
|
||||
<StoryViewer
|
||||
{...getDefaultProps()}
|
||||
selectedStoryIndex={5}
|
||||
stories={Array(20).fill({
|
||||
attachment: fakeAttachment({
|
||||
url: '/fixtures/snow.jpg',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue