* chore: Update storybook to v9 * Pin next-export-i18n + remove outdated mock library * Replace old mocking library with MSW * Resolve knip unused code warnings
25 lines
444 B
TypeScript
25 lines
444 B
TypeScript
import { Meta } from '@storybook/nextjs';
|
|
import { OwncastLogo } from './OwncastLogo';
|
|
|
|
const meta = {
|
|
title: 'owncast/Components/Header Logo',
|
|
component: OwncastLogo,
|
|
parameters: {
|
|
chromatic: { diffThreshold: 0.8 },
|
|
},
|
|
} satisfies Meta<typeof OwncastLogo>;
|
|
|
|
export default meta;
|
|
|
|
export const Logo = {
|
|
args: {
|
|
url: '/logo',
|
|
},
|
|
};
|
|
|
|
export const DemoServer = {
|
|
args: {
|
|
url: 'https://watch.owncast.online/logo',
|
|
},
|
|
};
|