import React from 'react';
import { storiesOf } from '@storybook/react';
import { getArticles } from './helpers';
import { FetchProvider } from '../../helpers/fetch/FetchProvider';
import { TrackingContextProvider } from '../../helpers/tracking/TrackingContextProvider';
import previewData from '../../fixtures/preview-data/recommended-articles';
import analyticsStream from '../../fixtures/analytics-actions/analytics-actions';
import { RecommendedArticles } from './RecommendedArticles';
storiesOf('Typescript Component/Recommended Articles', module)
.add('Recommended Articles - 1 Article', () => (
',
article_name: '',
widget_headline: '',
widget_section: '',
widget_type: "today's section"
}
}}
analyticsStream={analyticsStream}
>
))
.add('Recommended Articles - 2 Article', () => (
',
article_name: '',
widget_headline: '',
widget_section: '',
widget_type: "today's section"
}
}}
analyticsStream={analyticsStream}
>
))
.add('Recommended Articles - 3 Article', () => (
',
article_name: '',
widget_headline: '',
widget_section: '',
widget_type: "today's section"
}
}}
analyticsStream={analyticsStream}
>
));