owncast/web/stories/NameChangeModal.stories.tsx

21 lines
638 B
TypeScript
Raw Normal View History

2022-05-14 01:07:49 +03:00
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { RecoilRoot } from 'recoil';
2022-05-14 01:07:49 +03:00
import NameChangeModal from '../components/modals/NameChangeModal';
export default {
title: 'owncast/Modals/Name change',
component: NameChangeModal,
parameters: {},
} as ComponentMeta<typeof NameChangeModal>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const Template: ComponentStory<typeof NameChangeModal> = args => (
<RecoilRoot>
<NameChangeModal />
</RecoilRoot>
);
2022-05-14 01:07:49 +03:00
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const Basic = Template.bind({});