Idk why this is erroring out
This commit is contained in:
@@ -13,11 +13,10 @@ const meta = {
|
|||||||
},
|
},
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
department: { control: { type: 'text' } },
|
courseDeptAndInstr: { control: { type: 'text' } },
|
||||||
courseNumber: { control: { type: 'text' } },
|
className: { control: { type: 'text' } },
|
||||||
instructorLastName: { control: { type: 'text' } },
|
|
||||||
status: { control: { type: 'select', options: Object.values(Status) } },
|
status: { control: { type: 'select', options: Object.values(Status) } },
|
||||||
meetingTime: { control: { type: 'text' } },
|
timeAndLocation: { control: { type: 'text' } },
|
||||||
colors: { control: { type: 'object' } },
|
colors: { control: { type: 'object' } },
|
||||||
},
|
},
|
||||||
render: (args: any) => (
|
render: (args: any) => (
|
||||||
@@ -26,11 +25,10 @@ const meta = {
|
|||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
args: {
|
args: {
|
||||||
department: exampleCourse.department,
|
courseDeptAndInstr: exampleCourse.department,
|
||||||
courseNumber: exampleCourse.number,
|
className: exampleCourse.number,
|
||||||
instructorLastName: exampleCourse.instructors[0].lastName,
|
|
||||||
status: exampleCourse.status,
|
status: exampleCourse.status,
|
||||||
meetingTime: exampleCourse.schedule.meetings[0].getTimeString({ separator: '-' }),
|
timeAndLocation: exampleCourse.schedule.meetings[0].getTimeString({ separator: '-' }),
|
||||||
|
|
||||||
colors: getCourseColors('emerald', 500),
|
colors: getCourseColors('emerald', 500),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user