diff --git a/webapp/stories/post-card.story.js b/webapp/stories/post-card.story.js index e6880cae4..b74fa88ce 100644 --- a/webapp/stories/post-card.story.js +++ b/webapp/stories/post-card.story.js @@ -46,7 +46,7 @@ const post = { storiesOf('Post Card', module) .addDecorator(withA11y) .addDecorator(helpers.layout) - .add('Simple', () => ({ + .add('without image', () => ({ components: { HcPostCard }, store: helpers.store, data: () => ({ @@ -59,3 +59,19 @@ storiesOf('Post Card', module) /> `, })) + .add('with image', () => ({ + components: { HcPostCard }, + store: helpers.store, + data: () => ({ + post: { + ...post, + image: 'https://unsplash.com/photos/R4y_E5ZQDPg/download', + }, + }), + template: ` + + `, + }))