mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Merge pull request #11851 from uncovertruth/feature/react_svg_attributes
Add React SVG attributes
This commit is contained in:
Vendored
+8
-1
@@ -178,7 +178,7 @@ declare namespace __React {
|
||||
[key: string]: ReactInstance
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
class PureComponent<P, S> extends Component<P, S> {}
|
||||
|
||||
interface ClassicComponent<P, S> extends Component<P, S> {
|
||||
@@ -2074,6 +2074,7 @@ declare namespace __React {
|
||||
|
||||
interface SVGAttributes extends HTMLAttributes {
|
||||
clipPath?: string;
|
||||
colorInterpolationFilters?: "auto" | "sRGB" | "linearRGB" | "inherit";
|
||||
cx?: number | string;
|
||||
cy?: number | string;
|
||||
d?: string;
|
||||
@@ -2081,12 +2082,14 @@ declare namespace __React {
|
||||
dy?: number | string;
|
||||
fill?: string;
|
||||
fillOpacity?: number | string;
|
||||
filter?: string;
|
||||
fontFamily?: string;
|
||||
fontSize?: number | string;
|
||||
fx?: number | string;
|
||||
fy?: number | string;
|
||||
gradientTransform?: string;
|
||||
gradientUnits?: string;
|
||||
in?: string;
|
||||
markerEnd?: string;
|
||||
markerMid?: string;
|
||||
markerStart?: string;
|
||||
@@ -2097,9 +2100,11 @@ declare namespace __React {
|
||||
points?: string;
|
||||
preserveAspectRatio?: string;
|
||||
r?: number | string;
|
||||
result?: string;
|
||||
rx?: number | string;
|
||||
ry?: number | string;
|
||||
spreadMethod?: string;
|
||||
stdDeviation?: number | string
|
||||
stopColor?: string;
|
||||
stopOpacity?: number | string;
|
||||
stroke?: string;
|
||||
@@ -2111,6 +2116,8 @@ declare namespace __React {
|
||||
strokeWidth?: number | string;
|
||||
textAnchor?: string;
|
||||
transform?: string;
|
||||
type?: string;
|
||||
values?: string;
|
||||
version?: string;
|
||||
viewBox?: string;
|
||||
x1?: number | string;
|
||||
|
||||
Reference in New Issue
Block a user