You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
764 B
28 lines
764 B
import React from 'react'; |
|
import { ComponentStory, ComponentMeta } from '@storybook/react'; |
|
import FediAuthModal from './FediAuthModal'; |
|
import FediAuthModalMock from '../../../stories/assets/mocks/fediauth-modal.png'; |
|
|
|
const Example = () => ( |
|
<div> |
|
<FediAuthModal /> |
|
</div> |
|
); |
|
|
|
export default { |
|
title: 'owncast/Modals/FediAuth', |
|
component: FediAuthModal, |
|
parameters: { |
|
design: { |
|
type: 'image', |
|
url: FediAuthModalMock, |
|
scale: 0.5, |
|
}, |
|
}, |
|
} as ComponentMeta<typeof FediAuthModal>; |
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
|
const Template: ComponentStory<typeof FediAuthModal> = args => <Example />; |
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars |
|
export const Basic = Template.bind({});
|
|
|