Add components

+ Finished card
+ Button
This commit is contained in:
Stephan
2022-09-29 22:05:18 +02:00
parent a43e64f200
commit c48001f2d5
10 changed files with 120 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import React from "react";
import { ComponentStory, ComponentMeta } from "@storybook/react";
import Button from "../components/button";
export default { title: "Button", component: Button } as ComponentMeta<typeof Button>;
const Template: ComponentStory<typeof Button> = (args) => <Button {...args} />;
export const defaultButton = Template.bind({});
defaultButton.args = {
children: "Test",
};