import React from 'react'; import { storiesOf } from '@storybook/react'; import { TripCards } from './index'; import styled from 'styled-components'; import { defaultTripCardImgHeight } from './helpers'; const spacing = (multiplier: number) => `${multiplier * 8}px`; const breakpoints = { medium: 768, wide: 1024 }; const InteractiveContainer = styled.div` position: relative; margin-bottom: ${spacing(4)}; padding: 0 ${spacing(2)}; @media (min-width: ${breakpoints.medium}px) { width: 80.8%; margin-left: auto; margin-right: auto; padding: 0; } @media (min-width: ${breakpoints.wide}px) { width: 56.2%; } `; storiesOf('Typescript Component/TripCards', module) .add('Channel View Two Cards', () => ( )) .add('Channel View Three Cards', () => ( )) .add('Article View Two Trip Cards', () => ( )) .add('Article View Three Cards', () => ( )) .add('Article View Two Trip Cards', () => ( )) .add('Article View Trip Cards', () => ( )) .add('Article View Six Cards', () => ( ));