diff --git a/react/react-addons.d.ts b/react/react-addons.d.ts index 9479cc722..151511339 100644 --- a/react/react-addons.d.ts +++ b/react/react-addons.d.ts @@ -518,7 +518,9 @@ declare module "react/addons" { unselectable?: boolean; } - interface SVGAttributes extends HTMLAttributes { + interface SVGAttributes extends DOMAttributes { + ref?: string | ((component: SVGComponent) => void); + cx?: number | string; cy?: number | string; d?: string; @@ -532,6 +534,7 @@ declare module "react/addons" { fy?: number | string; gradientTransform?: string; gradientUnits?: string; + height?: number | string; markerEnd?: string; markerMid?: string; markerStart?: string; @@ -556,6 +559,7 @@ declare module "react/addons" { transform?: string; version?: string; viewBox?: string; + width?: number | string; x1?: number | string; x2?: number | string; x?: number | string; diff --git a/react/react-global.d.ts b/react/react-global.d.ts index ea032100c..fd84d982e 100644 --- a/react/react-global.d.ts +++ b/react/react-global.d.ts @@ -524,7 +524,9 @@ declare module React { preserveAspectRatio?: string; } - interface SVGAttributes extends HTMLAttributes { + interface SVGAttributes extends DOMAttributes { + ref?: string | ((component: SVGComponent) => void); + cx?: number | string; cy?: number | string; d?: string; @@ -538,6 +540,7 @@ declare module React { fy?: number | string; gradientTransform?: string; gradientUnits?: string; + height?: number | string; markerEnd?: string; markerMid?: string; markerStart?: string; @@ -562,6 +565,7 @@ declare module React { transform?: string; version?: string; viewBox?: string; + width?: number | string; x1?: number | string; x2?: number | string; x?: number | string; diff --git a/react/react.d.ts b/react/react.d.ts index 74d6eab4f..c27d523f0 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -524,7 +524,9 @@ declare module __React { preserveAspectRatio?: string; } - interface SVGAttributes extends HTMLAttributes { + interface SVGAttributes extends DOMAttributes { + ref?: string | ((component: SVGComponent) => void); + cx?: number | string; cy?: number | string; d?: string; @@ -538,6 +540,7 @@ declare module __React { fy?: number | string; gradientTransform?: string; gradientUnits?: string; + height?: number | string; markerEnd?: string; markerMid?: string; markerStart?: string; @@ -562,6 +565,7 @@ declare module __React { transform?: string; version?: string; viewBox?: string; + width?: number | string; x1?: number | string; x2?: number | string; x?: number | string;