|
|
|
|
@ -1,11 +1,22 @@
@@ -1,11 +1,22 @@
|
|
|
|
|
import React from 'react'; |
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react'; |
|
|
|
|
import SingleFollower from '../components/Follower'; |
|
|
|
|
import SingleFollowerMock from './assets/mocks/single-follower.png'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
title: 'owncast/Components/Followers/Single Follower', |
|
|
|
|
component: SingleFollower, |
|
|
|
|
parameters: {}, |
|
|
|
|
parameters: { |
|
|
|
|
design: { |
|
|
|
|
type: 'image', |
|
|
|
|
url: SingleFollowerMock, |
|
|
|
|
}, |
|
|
|
|
docs: { |
|
|
|
|
description: { |
|
|
|
|
component: `Represents a single follower.`, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
} as ComponentMeta<typeof SingleFollower>; |
|
|
|
|
|
|
|
|
|
const Template: ComponentStory<typeof SingleFollower> = args => <SingleFollower {...args} />; |
|
|
|
|
|