import { StoryFn, Meta } from '@storybook/react'; import { Modal } from './Modal'; const meta = { title: 'owncast/Modals/Container', component: Modal, parameters: { docs: { description: { component: `This is the popup modal container that all modal content is rendered inside. It can be passed content nodes to render, or a URL to show an iframe.`, }, }, }, } satisfies Meta; export default meta; const Template: StoryFn = args => { const { children } = args; return {children}; }; export const Example = { render: Template, args: { title: 'Modal example with content nodes', visible: true, children:
Test 123
, }, }; export const UrlExample = { render: Template, args: { title: 'Modal example with URL', visible: true, url: 'https://owncast.online', }, };