Skip to content

Commit

Permalink
strokeMiterlimit accept a number as well
Browse files Browse the repository at this point in the history
React and SVGR accepts and convert strokeMiterlimit to number. To ensure compatibility I made this little change.
  • Loading branch information
lfamorim committed Jul 11, 2020
1 parent 186f9b4 commit 3bb74bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsx.d.ts
Expand Up @@ -222,7 +222,7 @@ export namespace JSXInternal {
strokeDashoffset?: string | number;
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit';
strokeMiterlimit?: string;
strokeMiterlimit?: string | number;
strokeOpacity?: number | string;
strokeWidth?: number | string;
surfaceScale?: number | string;
Expand Down

0 comments on commit 3bb74bf

Please sign in to comment.