[19/n][Storybook] CloudyFlow

This commit is contained in:
Vivian Phung 2024-05-14 19:01:44 -04:00 committed by Vivian Phung
parent 2e30a1aae1
commit 050f404776
2 changed files with 28 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import React from 'react';
type Props = React.PropsWithChildren<{
className?: string;
snowZIndex?: number;

View File

@ -0,0 +1,27 @@
import { StoryObj, Meta } from '@storybook/react';
import { CloudyFlow } from 'components/CloudyFlow';
const meta: Meta<typeof CloudyFlow> = {
title: 'Components/CloudyFlow',
component: CloudyFlow,
tags: ['autodocs'],
argTypes: {
className: {
control: 'text',
},
},
};
export default meta;
type Story = StoryObj<typeof CloudyFlow>;
export const Default: Story = {
render: ({ ...arg }) => {
return <CloudyFlow {...arg} />;
},
args: {
className: 'flex flex-col min-h-screen',
},
};