mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
SVGAttributes inherit HTMLAttributes. fixed react-addons.d.ts and react-global.d.ts.
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user