SVGAttributes inherit HTMLAttributes. fixed react-addons.d.ts and react-global.d.ts.

This commit is contained in:
benishouga committed 2015-08-04 00:01:32 +09:00
1 parent 8c18f7d318
commit 62bb9fd807
3 files changed
+3 -12

No files matched your search

+1 -3
View File
@@ -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;