You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
465 B
25 lines
465 B
import { StoryFn, Meta } from '@storybook/react'; |
|
import { RecoilRoot } from 'recoil'; |
|
import { Footer } from './Footer'; |
|
|
|
const meta = { |
|
title: 'owncast/Layout/Footer', |
|
component: Footer, |
|
parameters: {}, |
|
} satisfies Meta<typeof Footer>; |
|
|
|
export default meta; |
|
|
|
const Template: StoryFn<typeof Footer> = args => ( |
|
<RecoilRoot> |
|
<Footer {...args} /> |
|
</RecoilRoot> |
|
); |
|
|
|
export const Example = { |
|
render: Template, |
|
|
|
args: { |
|
version: 'v1.2.3', |
|
}, |
|
};
|
|
|