chore: lint-format-docs-tests-bugfixes (#105)
* docs: add jsdoc * feat: change enums to as const objects * chore(test): add themeColors.test.ts * fix: fix tests and bugs with strings.ts util * fix: path alias imports and tsconfig file bug * fix: remove --max-warnings 0
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
import { Status } from '@shared/types/Course';
|
||||
import { Meta, StoryObj } from '@storybook/react';
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
import CourseStatus from '@views/components/common/CourseStatus/CourseStatus';
|
||||
import React from 'react';
|
||||
|
||||
const meta = {
|
||||
title: 'Components/Common/CourseStatus',
|
||||
@@ -40,7 +39,7 @@ export const Default: Story = {};
|
||||
|
||||
export const Variants: Story = {
|
||||
render: args => (
|
||||
<div className='flex flex-col gap-4 items-center'>
|
||||
<div className='flex flex-col items-center gap-4'>
|
||||
<CourseStatus {...args} size='small' />
|
||||
<CourseStatus {...args} size='mini' />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user