diff --git a/lib/components/Button/Button.stories.tsx b/lib/components/Button/Button.stories.tsx index f24558e..3ac2e06 100644 --- a/lib/components/Button/Button.stories.tsx +++ b/lib/components/Button/Button.stories.tsx @@ -1,41 +1,55 @@ import type { Meta, StoryFn } from "@storybook/react"; -import Button from "~/components/Button"; +import { Button } from "~/components/Button"; +/** + * ```typescript + * import { Button } from "@tietokilta/ui"; + * ``` + */ export default { title: "Button", - component: Button, - argTypes: { - action: { - options: ["primary", "secondary", "tertiary"] - }, - destructive: { - control: { - type: "boolean" - } - }, - children: { - name: "text" - } - } + component: Button } as Meta; const Template: StoryFn = (args) =>