2022-05-14 01:07:49 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2022-05-26 23:52:04 +03:00
|
|
|
import { RecoilRoot } from 'recoil';
|
2022-09-07 10:00:28 +03:00
|
|
|
import { NameChangeModal } from './NameChangeModal';
|
2022-05-14 01:07:49 +03:00
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'owncast/Modals/Name change',
|
|
|
|
component: NameChangeModal,
|
|
|
|
parameters: {},
|
|
|
|
} as ComponentMeta<typeof NameChangeModal>;
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2022-05-26 23:52:04 +03:00
|
|
|
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({});
|