Adds debugging information to stories

This commit is contained in:
Josh Perez 2022-07-25 14:55:44 -04:00 committed by GitHub
parent badf9d7dda
commit 06476de6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 1089 additions and 530 deletions

View file

@ -121,3 +121,22 @@ LongCaption.args = {
}),
},
};
export const YourStory = Template.bind({});
{
const storyView = getFakeStoryView(
'/fixtures/nathan-anderson-316188-unsplash.jpg'
);
YourStory.args = {
story: {
...storyView,
sender: {
...storyView.sender,
isMe: true,
},
sendState: [],
},
};
YourStory.storyName = 'Your story';
}