mirror of
https://github.com/owncast/owncast.git
synced 2025-01-25 01:24:00 +03:00
21 lines
651 B
TypeScript
21 lines
651 B
TypeScript
import React from 'react';
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import BrowserNotifyModal from '../components/modals/BrowserNotifyModal';
|
|
|
|
const Example = () => (
|
|
<div>
|
|
<BrowserNotifyModal />
|
|
</div>
|
|
);
|
|
|
|
export default {
|
|
title: 'owncast/Modals/Browser Notifications',
|
|
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({});
|