Done, but might want to update font size

This commit is contained in:
knownotunknown
2024-02-09 11:57:22 -06:00
parent f045b400a5
commit e3301cc200
2 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import { Meta, StoryObj } from '@storybook/react';
import ScheduleTotalHoursAndCourses from '@views/components/common/ScheduleTotalHoursAndCourses/ScheduleTotalHoursAndCourses';
const meta = {
title: 'Components/Common/ScheduleTotalHoursAndCourses',
component: ScheduleTotalHoursAndCourses,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {
scheduleName: { control: 'text' },
totalHours: { control: 'number' },
totalCourses: { control: 'number' }
},
} satisfies Meta<typeof ScheduleTotalHoursAndCourses>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
scheduleName: 'text',
totalHours: 22,
totalCourses: 8
},
};