mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 16:37:44 +00:00
[20/n][Storybook] CloudyFlow (#59)
This commit is contained in:
commit
b34e0783c1
@ -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