diff --git a/packages/frontend/src/components/CloudyFlow.tsx b/packages/frontend/src/components/CloudyFlow.tsx index fb34990..479779f 100644 --- a/packages/frontend/src/components/CloudyFlow.tsx +++ b/packages/frontend/src/components/CloudyFlow.tsx @@ -1,4 +1,5 @@ import React from 'react'; + type Props = React.PropsWithChildren<{ className?: string; snowZIndex?: number; diff --git a/packages/frontend/src/stories/Components/CloudyFlow.stories.tsx b/packages/frontend/src/stories/Components/CloudyFlow.stories.tsx new file mode 100644 index 0000000..d3e90cb --- /dev/null +++ b/packages/frontend/src/stories/Components/CloudyFlow.stories.tsx @@ -0,0 +1,27 @@ +import { StoryObj, Meta } from '@storybook/react'; + +import { CloudyFlow } from 'components/CloudyFlow'; + +const meta: Meta = { + title: 'Components/CloudyFlow', + component: CloudyFlow, + tags: ['autodocs'], + argTypes: { + className: { + control: 'text', + }, + }, +}; + +export default meta; + +type Story = StoryObj; + +export const Default: Story = { + render: ({ ...arg }) => { + return ; + }, + args: { + className: 'flex flex-col min-h-screen', + }, +};