Skip to content

Commit

Permalink
Fix: Resolve issue with incorrect rendering of icons due to SVG fill …
Browse files Browse the repository at this point in the history
…attribute removal
  • Loading branch information
kimtaejin3 committed Nov 4, 2023
1 parent 16dcc53 commit abb710c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-icons/scripts/logics.ts
Expand Up @@ -38,6 +38,7 @@ export async function convertIconData(svg, multiColor) {
const newName = name.startsWith("aria-") ? name : camelcase(name);
switch (newName) {
case "fill":
obj[newName] = attribs[name];
case "stroke":
if (
attribs[name] === "none" ||
Expand Down

0 comments on commit abb710c

Please sign in to comment.