stories for grid cell

This commit is contained in:
2024-02-05 23:22:56 -06:00
parent aaccd9b562
commit 4f3ccd9c90
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
// Calendar.stories.tsx
import React from 'react';
import CalendarCell from '@views/components/common/CalendarGridCell/CalendarGridCell';
import type { Meta, StoryObj } from '@storybook/react';
const meta = {
title: 'Components/Common/CalendarGridCell',
component: CalendarCell,
parameters: {
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
tags: ['autodocs'],
}
} satisfies Meta<typeof CalendarCell>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {};

View File

@@ -9,7 +9,7 @@
align-items: flex-start;
border: 1px solid #DADCE0;
}
.hourLine {
width: 165px;
height: 1px;