Skip to content

Commit

Permalink
chore: add responsive snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeste Glavin committed May 17, 2019
1 parent 1a92836 commit 776ca26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/stories/card.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ import React from 'react';
import { storiesOf } from '@storybook/react';

import getPlaceholderURL from './util/placeholder';
import settings from '../src/global/js/settings';

const viewports = Object.values(settings.breakpointsInPixels).filter(Boolean);

storiesOf('Card', module)
.addParameters({
chromatic: { viewports }
})
.add('card, link, image on top', () => (
<a
href="https://wework.com"
Expand Down

0 comments on commit 776ca26

Please sign in to comment.