2022-04-29 00:36:05 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2023-05-18 22:13:26 +03:00
|
|
|
import { RecoilRoot } from 'recoil';
|
2022-09-07 10:00:28 +03:00
|
|
|
import { Footer } from './Footer';
|
2022-04-29 00:36:05 +03:00
|
|
|
|
|
|
|
export default {
|
2022-05-13 03:59:40 +03:00
|
|
|
title: 'owncast/Layout/Footer',
|
2022-04-29 00:36:05 +03:00
|
|
|
component: Footer,
|
|
|
|
parameters: {},
|
|
|
|
} as ComponentMeta<typeof Footer>;
|
|
|
|
|
2023-05-18 22:13:26 +03:00
|
|
|
const Template: ComponentStory<typeof Footer> = args => (
|
|
|
|
<RecoilRoot>
|
|
|
|
<Footer {...args} />
|
|
|
|
</RecoilRoot>
|
|
|
|
);
|
2022-04-29 00:36:05 +03:00
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
export const Example = Template.bind({});
|
|
|
|
Example.args = {
|
|
|
|
version: 'v1.2.3',
|
|
|
|
};
|