mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Add fillRule to SVGAttributes
This commit is contained in:
1
react/index.d.ts
vendored
1
react/index.d.ts
vendored
@@ -2083,6 +2083,7 @@ declare namespace React {
|
||||
dy?: number | string;
|
||||
fill?: string;
|
||||
fillOpacity?: number | string;
|
||||
fillRule?: "nonzero" | "evenodd" | "inherit";
|
||||
filter?: string;
|
||||
fontFamily?: string;
|
||||
fontSize?: number | string;
|
||||
|
||||
@@ -325,17 +325,23 @@ React.DOM.input(htmlAttr);
|
||||
|
||||
React.DOM.svg({ viewBox: "0 0 48 48" },
|
||||
React.DOM.rect({
|
||||
x: 22,
|
||||
y: 10,
|
||||
width: 4,
|
||||
height: 28
|
||||
x: 22,
|
||||
y: 10,
|
||||
width: 4,
|
||||
height: 28
|
||||
}),
|
||||
React.DOM.rect({
|
||||
x: 10,
|
||||
y: 22,
|
||||
width: 28,
|
||||
height: 4
|
||||
}));
|
||||
x: 10,
|
||||
y: 22,
|
||||
width: 28,
|
||||
height: 4
|
||||
}),
|
||||
React.DOM.path({
|
||||
d: "M0,0V3H3V0ZM1,1V2H2V1Z",
|
||||
fill: "#999999",
|
||||
fillRule: "evenodd"
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user