From b5b34622ea24a7bfe724312d3a20c43526fcaccc Mon Sep 17 00:00:00 2001 From: Anna de Ruig Date: Fri, 7 Jun 2024 11:38:16 +0200 Subject: [PATCH 1/2] add desc to component type --- client.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.d.ts b/client.d.ts index dbfc650..315323c 100644 --- a/client.d.ts +++ b/client.d.ts @@ -5,7 +5,7 @@ declare module "*.svg?react" { import * as React from "react"; const ReactComponent: React.FunctionComponent< - React.ComponentProps<"svg"> & { title?: string } + React.ComponentProps<"svg"> & { title?: string, desc?: string } >; export default ReactComponent; From b2cef85fe6a31079d912bce6fbc0f36c1f50b663 Mon Sep 17 00:00:00 2001 From: Anna de Ruig Date: Fri, 7 Jun 2024 11:48:03 +0200 Subject: [PATCH 2/2] add titleId and descId --- client.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.d.ts b/client.d.ts index 315323c..974cb73 100644 --- a/client.d.ts +++ b/client.d.ts @@ -5,7 +5,7 @@ declare module "*.svg?react" { import * as React from "react"; const ReactComponent: React.FunctionComponent< - React.ComponentProps<"svg"> & { title?: string, desc?: string } + React.ComponentProps<"svg"> & { title?: string, titleId?: string, desc?: string, descId?: string } >; export default ReactComponent;