owncast/web/stories/Follower.stories.tsx

23 lines
645 B
TypeScript
Raw Normal View History

import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
2022-05-03 23:17:05 +02:00
import SingleFollower from '../components/Follower';
export default {
title: 'owncast/Follower',
2022-05-03 23:17:05 +02:00
component: SingleFollower,
parameters: {},
2022-05-03 23:17:05 +02:00
} as ComponentMeta<typeof SingleFollower>;
2022-05-03 23:17:05 +02:00
const Template: ComponentStory<typeof SingleFollower> = args => <SingleFollower {...args} />;
export const Example = Template.bind({});
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',
},
};