Merge pull request #5131 from benishouga/add-react-svg

React: Added attributes 'width' and 'height' to SVGAttributes for Rect.
This commit is contained in:
Masahiro Wakame
2015-08-08 14:33:35 +09:00
3 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -536,6 +536,7 @@ declare module "react/addons" {
fy?: number | string;
gradientTransform?: string;
gradientUnits?: string;
height?: number | string;
markerEnd?: string;
markerMid?: string;
markerStart?: string;
@@ -560,6 +561,7 @@ declare module "react/addons" {
transform?: string;
version?: string;
viewBox?: string;
width?: number | string;
x1?: number | string;
x2?: number | string;
x?: number | string;
@@ -1050,4 +1052,3 @@ declare module "react/addons" {
identifiedTouch(identifier: number): Touch;
}
}
+2
View File
@@ -543,6 +543,7 @@ declare module React {
fy?: number | string;
gradientTransform?: string;
gradientUnits?: string;
height?: number | string;
markerEnd?: string;
markerMid?: string;
markerStart?: string;
@@ -567,6 +568,7 @@ declare module React {
transform?: string;
version?: string;
viewBox?: string;
width?: number | string;
x1?: number | string;
x2?: number | string;
x?: number | string;
+2
View File
@@ -543,6 +543,7 @@ declare module __React {
fy?: number | string;
gradientTransform?: string;
gradientUnits?: string;
height?: number | string;
markerEnd?: string;
markerMid?: string;
markerStart?: string;
@@ -567,6 +568,7 @@ declare module __React {
transform?: string;
version?: string;
viewBox?: string;
width?: number | string;
x1?: number | string;
x2?: number | string;
x?: number | string;