* 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
30 lines
697 B
TypeScript
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: {},
|
|
};
|