2022-04-28 08:19:20 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2022-05-08 10:45:45 +02:00
|
|
|
import { OwncastLogo } from '../components/common';
|
2022-04-28 08:19:20 +02:00
|
|
|
|
|
|
|
export default {
|
2022-05-08 10:45:45 +02:00
|
|
|
title: 'owncast/Logo',
|
|
|
|
component: OwncastLogo,
|
2022-04-28 08:19:20 +02:00
|
|
|
parameters: {},
|
2022-05-08 10:45:45 +02:00
|
|
|
} as ComponentMeta<typeof OwncastLogo>;
|
2022-04-28 08:19:20 +02:00
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2022-05-08 10:45:45 +02:00
|
|
|
const Template: ComponentStory<typeof OwncastLogo> = args => <OwncastLogo {...args} />;
|
2022-04-28 08:19:20 +02:00
|
|
|
|
|
|
|
// 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',
|
|
|
|
};
|