Table component helloworld
This commit is contained in:
parent
c01135257d
commit
718e6d22c6
5
app/ui/components/table.tsx
Normal file
5
app/ui/components/table.tsx
Normal file
@ -0,0 +1,5 @@
|
||||
export function Table() {
|
||||
return(
|
||||
<div>I am a table</div>
|
||||
)
|
||||
}
|
18
stories/Table.stories.tsx
Normal file
18
stories/Table.stories.tsx
Normal 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: {
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user