mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-17 12:19:20 +00:00
[19/n][Storybook] CloudyFlow
This commit is contained in:
parent
2e30a1aae1
commit
050f404776
@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
type Props = React.PropsWithChildren<{
|
||||
className?: string;
|
||||
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