Skip to content

Commit dbe8f68

Browse files
committed
⚙️ Fixed flood-opacity and flood-color attributes
1 parent a524e80 commit dbe8f68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/parseReactSvgContent.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const Attributes: Record<string, string> = {
2424
"stop-opacity": "stopOpacity",
2525
"color-interpolation-filters": "colorInterpolationFilters",
2626
"xlink:href": "xlinkHref",
27+
"flood-opacity": "floodOpacity",
28+
"flood-color": "floodColor",
2729
};
2830

2931
const convertStyleStringToObject = (styleString: string): string => {

0 commit comments

Comments
 (0)