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:
heavenshell
2016-10-08 15:42:07 +09:00
parent 4c76db9b47
commit 0335027d41

9
react/react.d.ts vendored
View File

@@ -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;