mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 09:45:36 +03:00
4f078e1ee4
* Migrate web action-buttons directory to CSF3 notation * Migrate web chat directory to CSF3 notation * Migrate web common directory to CSF3 notation * Migrate web layout directory to CSF3 notation * Migrate web modals directory to CSF3 notation * Migrate web ui directory to CSF3 notation * Migrate web video directory to CSF3 notation * Migrate web stories directory to CSF3 notation
30 lines
584 B
TypeScript
30 lines
584 B
TypeScript
import { Meta } from '@storybook/react';
|
|
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',
|
|
},
|
|
};
|