Organize stories and populate readme

This commit is contained in:
Gabe Kangas
2022-05-12 17:59:40 -07:00
parent ed50016bfc
commit d427c0ad70
11 changed files with 54 additions and 129 deletions

View File

@@ -3,9 +3,20 @@ import { ComponentStory, ComponentMeta } from '@storybook/react';
import VideoPoster from '../components/video/VideoPoster';
export default {
title: 'owncast/Video poster',
title: 'owncast/Player/Video poster',
component: VideoPoster,
parameters: {},
parameters: {
docs: {
description: {
component: `
- Sits on top of the video player when playback is not taking place.
- Shows the instance logo when the video is offline.
- Initial image is the logo when online.
- When the stream is online, will transition, via cross-fades, through the thumbnail.
- Will be removed when playback starts.`,
},
},
},
} as ComponentMeta<typeof VideoPoster>;
// eslint-disable-next-line @typescript-eslint/no-unused-vars