mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Updated interface HTMLAttributes
Added [key:string]: any; to HTMLAttributes to Support data- and aria- Attributes, which are unsupported currently.
This commit is contained in:
3
react/react.d.ts
vendored
3
react/react.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user