mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Add Reac SVG attributes
- Add "colorInterpolationFilters", "filter", "in", "result", "stdDeviation", "type" and "values" for "feGaussianBlur" and "feColorMatrix" - Remove trailing whitespaces
This commit is contained in:
9
react/react.d.ts
vendored
9
react/react.d.ts
vendored
@@ -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