Merge branch 'pr/85' into hackathon

This commit is contained in:
knownotunknown
2024-02-17 11:25:33 -06:00
7 changed files with 56 additions and 145 deletions

View File

@@ -45,7 +45,7 @@ export const Default: Story = {
schedule: new CourseSchedule({
meetings: [
new CourseMeeting({
days: [DAY_MAP.M, DAY_MAP.W, DAY_MAP.F],
days: [DAY_MAP.MON, DAY_MAP.WED, DAY_MAP.FRI],
startTime: 480,
endTime: 570,
location: {

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 = {};