owncast/web/stories/PageLogo.stories.tsx

24 lines
689 B
TypeScript
Raw Normal View History

import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
2022-05-18 00:28:56 +02:00
import Logo from '../components/ui/Logo/Logo';
export default {
2022-05-18 00:28:56 +02:00
title: 'owncast/Components/Page Logo',
component: Logo,
parameters: {},
2022-05-18 00:28:56 +02:00
} as ComponentMeta<typeof Logo>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2022-05-18 00:28:56 +02:00
const Template: ComponentStory<typeof Logo> = args => <Logo {...args} />;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2022-05-18 00:28:56 +02:00
export const LocalServer = Template.bind({});
LocalServer.args = {
src: 'http://localhost:8080/logo',
};
export const DemoServer = Template.bind({});
DemoServer.args = {
2022-05-18 00:28:56 +02:00
src: 'https://watch.owncast.online/logo',
};