2022-05-18 00:28:56 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2022-09-07 09:00:28 +02:00
|
|
|
import { OwncastLogo } from './OwncastLogo';
|
2022-05-18 00:28:56 +02:00
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'owncast/Components/Header Logo',
|
|
|
|
component: OwncastLogo,
|
2022-09-08 22:09:11 +02:00
|
|
|
parameters: {
|
|
|
|
chromatic: { diffThreshold: 0.8 },
|
|
|
|
},
|
2022-05-18 00:28:56 +02:00
|
|
|
} as ComponentMeta<typeof OwncastLogo>;
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
const Template: ComponentStory<typeof OwncastLogo> = args => <OwncastLogo {...args} />;
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
export const Logo = Template.bind({});
|
|
|
|
Logo.args = {
|
|
|
|
url: '/logo',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const DemoServer = Template.bind({});
|
|
|
|
DemoServer.args = {
|
|
|
|
url: 'https://watch.owncast.online/logo',
|
|
|
|
};
|