From 3d41a7ce5928531e128b563a25f92c48ab30ca64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicu=20Micleu=C8=99anu?= Date: Mon, 16 Oct 2017 19:03:27 +0300 Subject: [PATCH] react: Add support for more SVG elements (#19871) --- types/react/index.d.ts | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index e22b8e2890..62f1c6c151 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -3342,16 +3342,46 @@ declare namespace React { } interface ReactSVG { - svg: SVGFactory; animate: SVGFactory; circle: SVGFactory; + clipPath: SVGFactory; defs: SVGFactory; + desc: SVGFactory; ellipse: SVGFactory; + feBlend: SVGFactory; + feColorMatrix: SVGFactory; + feComponentTransfer: SVGFactory; + feComposite: SVGFactory; + feConvolveMatrix: SVGFactory; + feDiffuseLighting: SVGFactory; + feDisplacementMap: SVGFactory; + feDistantLight: SVGFactory; + feDropShadow: SVGFactory; + feFlood: SVGFactory; + feFuncA: SVGFactory; + feFuncB: SVGFactory; + feFuncG: SVGFactory; + feFuncR: SVGFactory; + feGaussianBlur: SVGFactory; + feImage: SVGFactory; + feMerge: SVGFactory; + feMergeNode: SVGFactory; + feMorphology: SVGFactory; + feOffset: SVGFactory; + fePointLight: SVGFactory; + feSpecularLighting: SVGFactory; + feSpotLight: SVGFactory; + feTile: SVGFactory; + feTurbulence: SVGFactory; + filter: SVGFactory; + foreignObject: SVGFactory; g: SVGFactory; image: SVGFactory; line: SVGFactory; linearGradient: SVGFactory; + marker: SVGFactory; mask: SVGFactory; + metadata: SVGFactory; path: SVGFactory; pattern: SVGFactory; polygon: SVGFactory; @@ -3359,10 +3389,14 @@ declare namespace React { radialGradient: SVGFactory; rect: SVGFactory; stop: SVGFactory; + svg: SVGFactory; + switch: SVGFactory; symbol: SVGFactory; text: SVGFactory; + textPath: SVGFactory; tspan: SVGFactory; use: SVGFactory; + view: SVGFactory; } interface ReactDOM extends ReactHTML, ReactSVG { }