Updated interface HTMLAttributes

Added [key:string]: any; to HTMLAttributes to Support data- and aria- Attributes, which are unsupported currently.
This commit is contained in:
glatzert
2016-02-24 16:51:17 +01:00
parent dade441471
commit 443f5a9e39

3
react/react.d.ts vendored
View File

@@ -1843,6 +1843,9 @@ declare namespace __React {
results?: number;
security?: string;
unselectable?: boolean;
// Allows aria- and data- Attributes
[key: string]: any;
}
interface SVGAttributes extends HTMLAttributes {