mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
21 lines
594 B
TypeScript
21 lines
594 B
TypeScript
import React from 'react';
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import FollowModal from '../components/modals/FollowModal';
|
|
|
|
const Example = () => (
|
|
<div>
|
|
<FollowModal />
|
|
</div>
|
|
);
|
|
|
|
export default {
|
|
title: 'owncast/Modals/Follow',
|
|
component: FollowModal,
|
|
parameters: {},
|
|
} as ComponentMeta<typeof FollowModal>;
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
const Template: ComponentStory<typeof FollowModal> = args => <Example />;
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export const Basic = Template.bind({});
|