From 07d01a2d4009c90871364f8a78f0c37721101fbc Mon Sep 17 00:00:00 2001 From: Samet Date: Tue, 14 May 2024 10:14:30 +0300 Subject: [PATCH] fix: updated @types/react package --- lib/@dsvgui/components/article/index.stories.tsx | 4 ++-- lib/@dsvgui/document/document.tsx | 2 +- package-lock.json | 15 ++++----------- package.json | 2 +- 4 files changed, 8 insertions(+), 15 deletions(-) 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} >