import { h } from 'preact';
import { action } from '@storybook/addon-actions';
import { withKnobs, select } from '@storybook/addon-knobs';
import {
CommentSubscription,
COMMENT_SUBSCRIPTION_TYPE,
} from '../CommentSubscription';
export default {
title: 'App Components/Comment Subscription',
decorators: [withKnobs],
};
const commonProps = {
onSubscribe: action('subscribed'),
onUnsubscribe: action('unsubscribed'),
};
export const Unsubscribed = () => (
);
Unsubscribed.storyName = 'unsubscribed';
export const Subscribed = () => (
);
Subscribed.storyName = 'subscribed';
export const SubscribedButNotDefault = () => (
);
SubscribedButNotDefault.storyName =
'subscribed (with comment type other than the default';