owncast/web/stories/Header.stories.tsx
2022-05-08 09:39:26 +02:00

21 lines
514 B
TypeScript

import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import Header from '../components/ui/Header/Header';
import { RecoilRoot } from 'recoil';
export default {
title: 'owncast/Header',
component: Header,
parameters: {},
} as ComponentMeta<typeof Header>;
const Template: ComponentStory<typeof Header> = args => (
<RecoilRoot>
<Header {...args} />
</RecoilRoot>
);
export const Example = Template.bind({});
Example.args = {
name: 'Example Stream Name',
};