Files
UT-Registration-Plus/src/stories/components/Chip.stories.tsx
knownotunknown 23e881f14c feat: implement Chip component
Styled inline since I'll need to rewrite in TailwindCSS anyways
2024-03-06 10:38:48 -06:00

24 lines
514 B
TypeScript

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',
},
};