[20/n][Storybook] CloudyFlow (#59)

This commit is contained in:
Vivian Phung 2024-05-14 19:25:36 -04:00 committed by GitHub
commit b34e0783c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 28 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import React from 'react'; import React from 'react';
type Props = React.PropsWithChildren<{ type Props = React.PropsWithChildren<{
className?: string; className?: string;
snowZIndex?: number; 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',
},
};