mirror of
https://github.com/owncast/owncast.git
synced 2024-12-25 02:28:29 +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
33 lines
801 B
TypeScript
33 lines
801 B
TypeScript
import { Meta } from '@storybook/react';
|
|
import { SingleFollower } from './SingleFollower';
|
|
import SingleFollowerMock from '../../../../stories/assets/mocks/single-follower.png';
|
|
|
|
const meta = {
|
|
title: 'owncast/Components/Followers/Single Follower',
|
|
component: SingleFollower,
|
|
parameters: {
|
|
design: {
|
|
type: 'image',
|
|
url: SingleFollowerMock,
|
|
},
|
|
docs: {
|
|
description: {
|
|
component: `Represents a single follower.`,
|
|
},
|
|
},
|
|
},
|
|
} satisfies Meta<typeof SingleFollower>;
|
|
|
|
export default meta;
|
|
|
|
export const Example = {
|
|
args: {
|
|
follower: {
|
|
name: 'John Doe',
|
|
description: 'User',
|
|
username: '@account@domain.tld',
|
|
image: 'https://avatars0.githubusercontent.com/u/1234?s=460&v=4',
|
|
link: 'https://yahoo.com',
|
|
},
|
|
},
|
|
};
|