From 4a2b28242b321a2c68b15d1c126f94d710315089 Mon Sep 17 00:00:00 2001 From: Nikita Kolmogorov Date: Thu, 19 May 2022 13:52:06 -0700 Subject: [PATCH 1/2] Add `textPath` type --- src/jsx.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 1e8f1cee25..82fde9fe57 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -1008,5 +1008,6 @@ export namespace JSXInternal { text: SVGAttributes; tspan: SVGAttributes; use: SVGAttributes; + textPath: SVGAttributes; } } From cbee885611f42d6768f1d9011c91cd93e9e981d6 Mon Sep 17 00:00:00 2001 From: Ryan Christian <33403762+rschristian@users.noreply.github.com> Date: Thu, 19 May 2022 16:37:26 -0500 Subject: [PATCH 2/2] Update src/jsx.d.ts --- src/jsx.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 82fde9fe57..7e99cce057 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -1006,8 +1006,8 @@ export namespace JSXInternal { stop: SVGAttributes; symbol: SVGAttributes; text: SVGAttributes; + textPath: SVGAttributes; tspan: SVGAttributes; use: SVGAttributes; - textPath: SVGAttributes; } }