Skip to content

Commit

Permalink
remove data-* attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed Apr 30, 2024
1 parent a4f1c6a commit 0f047a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-icons/scripts/logics.ts
Expand Up @@ -59,6 +59,9 @@ export async function convertIconData(
case "dataName":
break;
default:
if (name.startsWith("data")) {
break;
}
obj[newName] = attribs[name];
break;
}
Expand Down

0 comments on commit 0f047a4

Please sign in to comment.