Skip to content

Commit 283eaec

Browse files
authored
Merge pull request #909 from SanyamPunia/fix-stop-opacity
fix: convert stop-opacity to stopOpacity in react output
2 parents 30cac29 + 4e5c226 commit 283eaec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/parseReactSvgContent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const Attributes: Record<string, string> = {
2121
"text-anchor": "textAnchor",
2222
"xml:space": "xmlSpace",
2323
"stop-color": "stopColor",
24+
"stop-opacity": "stopOpacity",
2425
"color-interpolation-filters": "colorInterpolationFilters",
2526
"xlink:href": "xlinkHref",
2627
};

0 commit comments

Comments
 (0)