diff --git a/react/index.d.ts b/react/index.d.ts index a5cdee0716..8f24986bca 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -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; diff --git a/react/react-tests.ts b/react/react-tests.ts index 9d7ee383dc..b033907a79 100644 --- a/react/react-tests.ts +++ b/react/react-tests.ts @@ -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" + }) +); //