forked from cerc-io/snowballtools-base
[19/n][Storybook] CloudyFlow
This commit is contained in:
parent
2e30a1aae1
commit
050f404776
@ -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;
|
||||||
|
@ -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',
|
||||||
|
},
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user