Add animateTransform SVG element to JSX.IntrinsicElements

The animateTransform SVG element was missing from JSX.IntrinsicElements.

Like the SVG animate element, this will need to be refined when  TypeScript's lib.dom.d.ts is updated to include SVGAnimateTransformElement.
This commit is contained in:
dyst5422
2017-06-03 09:10:23 -07:00
committed by GitHub
parent 8bc8aaeb39
commit eeef424526
+1
View File
@@ -2857,6 +2857,7 @@ declare global {
svg: React.SVGProps<SVGSVGElement>;
animate: React.SVGProps<SVGElement>; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now.
animateTransform: React.SVGProps<SVGElement>; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now.
circle: React.SVGProps<SVGCircleElement>;
clipPath: React.SVGProps<SVGClipPathElement>;
defs: React.SVGProps<SVGDefsElement>;