feat: implement Chip component

Styled inline since I'll need to rewrite in TailwindCSS anyways
This commit is contained in:
knownotunknown
2024-02-03 14:15:18 -06:00
committed by doprz
parent 7eb3113ada
commit 23e881f14c
2 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import React from 'react';
import { Meta, StoryObj } from '@storybook/react';
import { Chip } from 'src/views/components/common/Chip/Chip';
const meta = {
title: 'Components/Common/Chip',
component: Chip,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {
label: { control: 'text' },
},
} satisfies Meta<typeof Chip>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
label: 'QR',
},
};