mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Added indexer to CSS properties in 'react'.
This commit is contained in:
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