feat: Storybook for Vite (#52)

* feat: storybook

* feat: option to add figma links

* refactor: resolve pr comments

* chore: fix storybook build

---------

Co-authored-by: Sriram Hariharan <sghsri@gmail.com>
This commit is contained in:
Razboy20
2024-01-30 16:43:30 -06:00
committed by GitHub
parent 0560a01a55
commit 9cc299ced6
14 changed files with 6340 additions and 95 deletions

View File

@@ -0,0 +1,24 @@
import Link from 'src/views/components/common/Link/Link';
import type { Meta, StoryObj } from '@storybook/react';
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 = {};