Add fillRule to SVGAttributes

This commit is contained in:
Rob Yoder
2016-10-27 22:28:16 -06:00
parent 0500bd3558
commit 73b855f753
2 changed files with 16 additions and 9 deletions

1
react/index.d.ts vendored
View File

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

View File

@@ -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"
})
);
//