mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Missing stroke parameters in SVG properties
This commit is contained in:
parent
9d6ee729f8
commit
d89e3032bd
3
react/index.d.ts
vendored
3
react/index.d.ts
vendored
@ -2179,7 +2179,8 @@ declare namespace React {
|
||||
stopColor?: string;
|
||||
stopOpacity?: number | string;
|
||||
stroke?: string;
|
||||
strokeDasharray?: string;
|
||||
strokeDasharray?: string | number;
|
||||
strokeDashoffset?: string | number;
|
||||
strokeLinecap?: "butt" | "round" | "square" | "inherit";
|
||||
strokeLinejoin?: "miter" | "round" | "bevel" | "inherit";
|
||||
strokeMiterlimit?: string;
|
||||
|
||||
@ -341,13 +341,17 @@ React.DOM.svg({
|
||||
x: 22,
|
||||
y: 10,
|
||||
width: 4,
|
||||
height: 28
|
||||
height: 28,
|
||||
strokeDasharray: '30%',
|
||||
strokeDashoffset: '20%'
|
||||
}),
|
||||
React.DOM.rect({
|
||||
x: 10,
|
||||
y: 22,
|
||||
width: 28,
|
||||
height: 4
|
||||
height: 4,
|
||||
strokeDasharray: 30,
|
||||
strokeDashoffset: 20
|
||||
}),
|
||||
React.DOM.path({
|
||||
d: "M0,0V3H3V0ZM1,1V2H2V1Z",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user