mirror of
https://github.com/aljazceru/landscape-template.git
synced 2025-12-29 20:14:29 +01:00
25 lines
606 B
TypeScript
25 lines
606 B
TypeScript
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import { WithModals } from 'src/utils/storybook/decorators';
|
|
|
|
import CreatePostPage from './CreatePostPage';
|
|
|
|
export default {
|
|
title: 'Posts/Create Post Page/Page',
|
|
component: CreatePostPage,
|
|
argTypes: {
|
|
backgroundColor: { control: 'color' },
|
|
},
|
|
decorators: [
|
|
WithModals
|
|
]
|
|
} as ComponentMeta<typeof CreatePostPage>;
|
|
|
|
|
|
const Template: ComponentStory<typeof CreatePostPage> = (args) => <CreatePostPage {...args as any} ></CreatePostPage>
|
|
|
|
export const Default = Template.bind({});
|
|
Default.args = {
|
|
}
|
|
|
|
|