mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
SVGAttributes inherit HTMLAttributes. fixed react-addons.d.ts and react-global.d.ts.
This commit is contained in:
1 parent
8c18f7d318
commit
62bb9fd807
3 files changed
+3
-12
No files matched your search
Vendored
+1
-4
@@ -518,9 +518,7 @@ declare module "react/addons" {
|
||||
unselectable?: boolean;
|
||||
}
|
||||
|
||||
interface SVGAttributes extends DOMAttributes {
|
||||
ref?: string | ((component: SVGComponent) => void);
|
||||
|
||||
interface SVGAttributes extends HTMLAttributes {
|
||||
cx?: number | string;
|
||||
cy?: number | string;
|
||||
d?: string;
|
||||
@@ -1048,4 +1046,3 @@ declare module "react/addons" {
|
||||
identifiedTouch(identifier: number): Touch;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-3
@@ -524,9 +524,7 @@ declare module React {
|
||||
preserveAspectRatio?: string;
|
||||
}
|
||||
|
||||
interface SVGAttributes extends DOMAttributes {
|
||||
ref?: string | ((component: SVGComponent) => void);
|
||||
|
||||
interface SVGAttributes extends HTMLAttributes {
|
||||
cx?: number | string;
|
||||
cy?: number | string;
|
||||
d?: string;
|
||||
|
||||
Vendored
+1
-5
@@ -524,9 +524,7 @@ declare module __React {
|
||||
preserveAspectRatio?: string;
|
||||
}
|
||||
|
||||
interface SVGAttributes extends DOMAttributes {
|
||||
ref?: string | ((component: SVGComponent) => void);
|
||||
|
||||
interface SVGAttributes extends HTMLAttributes {
|
||||
cx?: number | string;
|
||||
cy?: number | string;
|
||||
d?: string;
|
||||
@@ -540,7 +538,6 @@ declare module __React {
|
||||
fy?: number | string;
|
||||
gradientTransform?: string;
|
||||
gradientUnits?: string;
|
||||
height?: number | string;
|
||||
markerEnd?: string;
|
||||
markerMid?: string;
|
||||
markerStart?: string;
|
||||
@@ -565,7 +562,6 @@ declare module __React {
|
||||
transform?: string;
|
||||
version?: string;
|
||||
viewBox?: string;
|
||||
width?: number | string;
|
||||
x1?: number | string;
|
||||
x2?: number | string;
|
||||
x?: number | string;
|
||||
|
||||
Reference in new issue
Block a user