mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 03:01:32 +03:00
20 lines
638 B
TypeScript
20 lines
638 B
TypeScript
import React from 'react';
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import { RecoilRoot } from 'recoil';
|
|
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>
|
|
);
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export const Basic = Template.bind({});
|