mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-21 11:51:47 +08:00
Added indexer to CSS properties in 'react'.
This commit is contained in:
1 parent
d2f69d40ab
commit
fb0b124b2a
2 files changed
+8
No files matched your search
Vendored
+4
@@ -396,10 +396,14 @@ declare module React {
|
||||
zIndex?: number;
|
||||
zoom?: number;
|
||||
|
||||
fontSize?: number | string;
|
||||
|
||||
// SVG-related properties
|
||||
fillOpacity?: number;
|
||||
strokeOpacity?: number;
|
||||
strokeWidth?: number;
|
||||
|
||||
[propertyName: string]: string | number | boolean;
|
||||
}
|
||||
|
||||
interface HTMLAttributes extends DOMAttributes {
|
||||
|
||||
Vendored
+4
@@ -396,10 +396,14 @@ declare module __React {
|
||||
zIndex?: number;
|
||||
zoom?: number;
|
||||
|
||||
fontSize?: number | string;
|
||||
|
||||
// SVG-related properties
|
||||
fillOpacity?: number;
|
||||
strokeOpacity?: number;
|
||||
strokeWidth?: number;
|
||||
|
||||
[propertyName: string]: string | number | boolean;
|
||||
}
|
||||
|
||||
interface HTMLAttributes extends DOMAttributes {
|
||||
|
||||
Reference in new issue
Block a user