Table component helloworld

This commit is contained in:
Manuel Bustillo 2024-11-01 12:50:19 +01:00
parent c01135257d
commit 718e6d22c6
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,5 @@
export function Table() {
return(
<div>I am a table</div>
)
}

18
stories/Table.stories.tsx Normal file
View File

@ -0,0 +1,18 @@
import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import {Table as TableComponent} from '../app/ui/components/table';
const meta = {
title: 'Example/Table',
component: TableComponent,
}
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
}
};