Skip to content

Commit

Permalink
fix fallback icon as div
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Sobachi (RSO) committed Sep 21, 2023
1 parent 53ce751 commit 2eb6d82
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mt-web-icons",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"main": "react/Icon/cjs/index.js",
"module": "react/Icon/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion react/Icon/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/Icon/esm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/IconComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function renderFallback(props) {
}
};

return <div {...fallbackProps} />;
return <span {...fallbackProps} />;
}

export default function Icon(props) {
Expand Down

0 comments on commit 2eb6d82

Please sign in to comment.