diff --git a/index.tsx b/index.tsx index f5d8d37..a19e4db 100644 --- a/index.tsx +++ b/index.tsx @@ -2,10 +2,10 @@ import React from "react"; import clsx from "clsx"; import st from "./index.module.less"; -export interface Props {} +export interface Props {} -export default function ({}: Props) { - const className = clsx(st['']); +export default function ({}: Props) { + const className = clsx(st['']); - return (); + return (); } diff --git a/stories/index.stories.ts b/stories/index.stories.ts index 926433b..917b68f 100644 --- a/stories/index.stories.ts +++ b/stories/index.stories.ts @@ -1,10 +1,10 @@ import type { Meta, StoryObj } from "@storybook/react"; // import { userEvent, within, fn } from '@storybook/test'; -import from '../index'; +import from '../index'; -const meta: Meta> = { - title: "H5-Common/Componet/", - component: , +const meta: Meta> = { + title: "H5-Common/Componet/", + component: , tags: ["autodocs"], parameters: { layout: "centered", @@ -16,7 +16,7 @@ const meta: Meta> = { }; export default meta; -type Story = StoryObj>; +type Story = StoryObj>; /* *👇 Render functions are a framework specific feature to allow you control on how the component renders.