Files
owncast/web/components/ui/SocialLinks/SocialLinks.stories.tsx
T
Gabe KangasandGitHub cc9286416c Update storybook to v9 (#4645)
* chore: Update storybook to v9

* Pin next-export-i18n + remove outdated mock library

* Replace old mocking library with MSW

* Resolve knip unused code warnings
2025-10-20 21:26:32 -07:00

39 lines
801 B
TypeScript

import { Meta } from '@storybook/nextjs';
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: [],
},
};