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