* 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
25 lines
512 B
TypeScript
25 lines
512 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
import Link from '@views/components/common/Link/Link';
|
|
|
|
const meta = {
|
|
title: 'Components/Common/Link',
|
|
component: Link,
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
tags: ['autodocs'],
|
|
argTypes: {
|
|
color: {
|
|
control: 'color',
|
|
},
|
|
},
|
|
args: {
|
|
children: 'Link',
|
|
},
|
|
} satisfies Meta<typeof Link>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Default: Story = {};
|