Files
owncast/web/stories/PageLogo.stories.tsx
T
Gabe KangasandGitHub cc9286416c Update storybook to v9 (#4645)
* chore: Update storybook to v9

* Pin next-export-i18n + remove outdated mock library

* Replace old mocking library with MSW

* Resolve knip unused code warnings
2025-10-20 21:26:32 -07:00

31 lines
585 B
TypeScript

import { Meta } from '@storybook/nextjs';
import { Logo } from '../components/ui/Logo/Logo';
const meta = {
title: 'owncast/Components/Page Logo',
component: Logo,
parameters: {
chromatic: { diffThreshold: 0.8 },
},
} satisfies Meta<typeof Logo>;
export default meta;
export const LocalServer = {
args: {
src: 'http://localhost:8080/logo',
},
};
export const DemoServer = {
args: {
src: 'https://watch.owncast.online/logo',
},
};
export const NotSquare = {
args: {
src: 'https://via.placeholder.com/150x325/FF0000/FFFFFF?text=Rectangle',
},
};