✨(components) add react repo
This repo only contains a Button which is here only for demonstration purpose. Its purpose is to contain all the future react-based components of the design system.
This commit is contained in:
13
packages/react/src/components/Button/index.stories.tsx
Normal file
13
packages/react/src/components/Button/index.stories.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
||||
import React from "react";
|
||||
import { Button } from "./index";
|
||||
|
||||
export default {
|
||||
title: "Button",
|
||||
component: Button,
|
||||
} as ComponentMeta<typeof Button>;
|
||||
|
||||
const Template: ComponentStory<typeof Button> = () => <Button />;
|
||||
|
||||
export const Default = Template.bind({});
|
||||
Default.args = {};
|
||||
Reference in New Issue
Block a user