import { h } from 'preact';
import { withKnobs, object, text, boolean } from '@storybook/addon-knobs';
import { action } from '@storybook/addon-actions';
import { Article } from '..';
import {
article,
articleWithOrganization,
articleWithSnippetResult,
articleWithReactions,
articleWithComments,
featuredArticle,
} from '../__tests__/utilities/articleUtilities';
import '../../../assets/stylesheets/articles.scss';
const commonProps = {
bookmarkClick: action('Saved/unsaved article'),
};
export default {
title: '4_App Components/Article/Standard',
component: Article,
decorators: [withKnobs],
};
export const DefaultArticle = () => (
);
DefaultArticle.story = {
name: 'default',
};
export const IsFeatured = () => (
);
IsFeatured.story = {
name: 'is featured',
};
export const WithOrganization = () => (
);
WithOrganization.story = {
name: 'with organization',
};
export const WithFlareTag = () => (
);
WithFlareTag.story = {
name: 'with flare tag',
};
export const WithSnippetResult = () => (
);
WithSnippetResult.story = {
name: 'with snippet result',
};
export const WithReactions = () => (
);
WithReactions.story = {
name: 'with reactions',
};
export const WithComments = () => (
);
WithComments.story = {
name: 'with comments',
};
export const OnReadingList = () => (
);
OnReadingList.story = {
name: 'on reading list',
};