mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +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
38 lines
800 B
TypeScript
38 lines
800 B
TypeScript
import { Meta } from '@storybook/react';
|
|
import { SocialLinks } from './SocialLinks';
|
|
|
|
const meta = {
|
|
title: 'owncast/Components/Social links',
|
|
component: SocialLinks,
|
|
parameters: {},
|
|
} satisfies Meta<typeof SocialLinks>;
|
|
|
|
export default meta;
|
|
|
|
export const Populated = {
|
|
args: {
|
|
links: [
|
|
{
|
|
platform: 'github',
|
|
url: 'https://github.com/owncast/owncast',
|
|
icon: '/img/platformlogos/github.svg',
|
|
},
|
|
{
|
|
platform: 'Documentation',
|
|
url: 'https://owncast.online',
|
|
icon: '/img/platformlogos/link.svg',
|
|
},
|
|
{
|
|
platform: 'mastodon',
|
|
url: 'https://fosstodon.org/users/owncast',
|
|
icon: '/img/platformlogos/mastodon.svg',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export const Empty = {
|
|
args: {
|
|
links: [],
|
|
},
|
|
};
|