WEB-1344 chore: Add storybook (#4490)

* Add storybbok integration for UI package

* Exclude stories from tailwind config

* Update gitignore

* chore: disable lint stage

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Satish Gandham 2024-05-22 16:36:31 +05:30 committed by GitHub
parent c0961586a3
commit e99a7accec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 5320 additions and 649 deletions

View file

@ -0,0 +1,19 @@
import type { Meta, StoryObj } from "@storybook/react";
import { fn } from "@storybook/test";
import { Avatar } from "./avatar";
const meta: Meta<typeof Avatar> = {
title: "Avatar",
component: Avatar,
};
export default meta;
type Story = StoryObj<typeof Avatar>;
export const Default: Story = {
args: { name: "John Doe" },
};
export const Large: Story = {
args: { name: "John Doe" },
};