2022-04-28 08:19:20 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
|
|
import BrowserNotifyModal from '../components/modals/BrowserNotifyModal';
|
|
|
|
|
|
|
|
const Example = () => (
|
|
|
|
<div>
|
2022-05-12 23:45:56 +02:00
|
|
|
<BrowserNotifyModal />
|
2022-04-28 08:19:20 +02:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default {
|
2022-05-12 23:45:56 +02:00
|
|
|
title: 'owncast/Modals/Browser Notifications',
|
2022-04-28 08:19:20 +02:00
|
|
|
component: BrowserNotifyModal,
|
|
|
|
parameters: {},
|
|
|
|
} as ComponentMeta<typeof BrowserNotifyModal>;
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
const Template: ComponentStory<typeof BrowserNotifyModal> = args => <Example />;
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
export const Basic = Template.bind({});
|