diff --git a/lib/@dsvgui/.storybook/main.ts b/lib/@dsvgui/.storybook/main.ts index 0450a88..1813616 100644 --- a/lib/@dsvgui/.storybook/main.ts +++ b/lib/@dsvgui/.storybook/main.ts @@ -8,7 +8,6 @@ const defaultConfig = { "@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions", - "@storybook/addon-mdx-gfm", ], framework: { name: "@storybook/nextjs", diff --git a/lib/@dsvgui/components/article/index.stories.tsx b/lib/@dsvgui/components/article/index.stories.tsx index 1259112..d874f9a 100644 --- a/lib/@dsvgui/components/article/index.stories.tsx +++ b/lib/@dsvgui/components/article/index.stories.tsx @@ -1,5 +1,5 @@ import type { Meta, StoryObj } from "@storybook/react"; -import { Article } from "./index"; +import { Article, IArticle } from "./index"; import { readImageURL } from "@/lib/@dsvgui/utils"; const meta: Meta = { @@ -16,7 +16,7 @@ const meta: Meta = { }; export default meta; -type Story = StoryObj; +type Story = StoryObj; export const Base: Story = { args: { diff --git a/lib/@dsvgui/document/document.tsx b/lib/@dsvgui/document/document.tsx index 9e5f84d..dcbadb3 100644 --- a/lib/@dsvgui/document/document.tsx +++ b/lib/@dsvgui/document/document.tsx @@ -28,7 +28,7 @@ export const Document: React.FC = (props) => { w + margin + padding } ${h + margin + padding}`} fill="none" - {...rest} + // {...rest} dangerouslySetInnerHTML={undefined} >