Files
UT-Registration-Plus/src/stories/components/PopupMain.stories.tsx
Razboy20 1d8da6579e refactor(popup): match styles/reduce paint flicker (#136)
* refactor: match popup styles/reduce paint flicker

* fix: useSchedules hook

* feat: popup 

* fix: repaint issue on popup body

* fix: initial active schedule

* fix: center justification

* fix: reactivity error
2024-03-13 12:33:54 -05:00

30 lines
697 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import PopupMain from '@views/components/PopupMain';
import React from 'react';
const meta = {
title: 'Components/Common/PopupMain',
component: PopupMain,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
args: {},
argTypes: {},
render: () => (
<div
style={{ width: '360px', height: '540px' }}
className='border-2 border-gray-300/40 shadow-gray/20 shadow-lg'
>
<PopupMain />
</div>
),
} satisfies Meta<typeof PopupMain>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {},
};